-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Description
Bug Template
Actual Behavior
Errors in the logs
Module not supported: eslint-plugin-ignore-erb
ESLint is running with the default parser.
Module not supported: eslint-plugin-chai-friendly
Module not supported: eslint-plugin-cypress
and in Code Climate I get issues reported that I need to mark as invalid because it is unable to process the rules in eslint-plugin-chai-friendly
Expected Behavior
For code climate to process the eslint rules that the chai-friendly plugin provides;
Steps to reproduce
-
Install the eslint-plugin-chai-friendly into a JavaScript project along with eslint
-
Add the following to the
.eslintrc
:
{
...
"plugins": ["chai-friendly"],
...
"rules": {
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2
}
}
- Commit a test that uses chai in the folder or subfolder where the
.eslintrc
file resides, e.g.
// this
expect(foo).to.be.true;
foo.should.be.true;
Relevant links
https://github.com/ihordiachenko/eslint-plugin-chai-friendly
I'd be happy to open up a PR for this.
Metadata
Metadata
Assignees
Labels
No labels