Relative Content

Tag Archive for node.jseslintserverless

Eslint on a serverless project returns require() of ESModule error

I’m running eslint to control syntax for aws serverless project which has strict rules that causes failed deployments, the eslint itself is now causing the failed deployment with the error below. I’ve looked up the error and seen solutions that have included updating the parser and parserOptions but has not worked.