Typescript-eslint: Eslint 6 support

Created on 22 Jun 2019  路  3Comments  路  Source: typescript-eslint/typescript-eslint

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.

parser triage

Most helpful comment

Duplicate of #563, fixed on master and just needs to be released.

All 3 comments

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

Was this page helpful?
0 / 5 - 0 ratings