Reproduce
$ yarn add eslint typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser
$ npx eslint .
Failed to load parser '@typescript-eslint/parser' declared in '.eslintrc 禄 plugin:@typescript-eslint/recommended 禄 ./configs/base.json': Cannot find module 'eslint/lib/util/traverser'
Require stack:
- /home/jchn/test-teslint/node_modules/@typescript-eslint/parser/dist/parser.js
- /home/jchn/test-teslint/node_modules/eslint/lib/cli-engine/config-array-factory.js
- /home/jchn/test-teslint/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js
- /home/jchn/test-teslint/node_modules/eslint/lib/cli-engine/cli-engine.js
- /home/jchn/test-teslint/node_modules/eslint/lib/cli-engine/index.js
- /home/jchn/test-teslint/node_modules/eslint/lib/cli.js
- /home/jchn/test-teslint/node_modules/eslint/bin/eslint.js
Eslint 6 is released today. Both the parser and the plugin does not work in eslint 6. Failure in parser also fails the test of other eslint plugins.
Duplicate of #563, fixed on master and just needs to be released.
As per the README, every commit to master is published on npm, there is never any need to wait to get the latest updates
1.11.0 has now also been released which contains the necessary update
Most helpful comment
Duplicate of #563, fixed on master and just needs to be released.