Some way to specify rules per file path pattern #2565
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
triage
An ESLint team member will look at this issue soon
I've following project structure:
component.js is some front-end script, component.test.js is a mocha test.
I need different globals in component and component.test and a few different rules (Like disabling no-unused-expressions in test, because of mochas
expect(rejectedSpy).to.have.not.been.called;
For now, I end up with putting all this exceptions in comments at the beginning of test file:
but it would be great to have one place for this.
The text was updated successfully, but these errors were encountered: