ihordiachenko / eslint-plugin-chai-friendly

Makes eslint friendly towards Chai.js 'expect' and 'should' statements.
MIT License
53 stars 10 forks source link

Issue with ESLint 7.14.0 #17

Closed GuillaumedesPommareSAP closed 3 years ago

GuillaumedesPommareSAP commented 3 years ago

Hello. My issue could be seen as trivial, but for me it seems not to be ! Here is what is happening:

>yarn lint
yarn run v1.22.5
$ eslint "packages/*/src/**/*.ts"

Oops! Something went wrong! :(

ESLint: 7.14.0

ESLint couldn't find the plugin "eslint-plugin-chai-friendl".

(The package "eslint-plugin-chai-friendl" was not found when loaded as a Node module from the directory ".".)

Here you will guess what the error is : the final 'y' is missing, right ?

But now have a close look to this screenshot: image

As you can see, I never reference this plugin as eslint-plugin-chai-friendl but eslint-plugin-chai-friendly Could there be any compatibility issue with latest version of ESLint, maybe plugin name is too long, something like that ?

GuillaumedesPommareSAP commented 3 years ago

My bad, I should read the documentation and not innovate ! .eslint.rc => "plugin:chai-friendly/recommended"

sorry !