Is it possible with ESLint to ignore one specific rule for an entire directory?
In my case, I would like to ignore import/prefer-default-export for a di
If there are multiple directories that you want to apply your rules to, then you can create different configs for different purposes. For example:
.eslintrc.json for common config.eslintrc-main.json for main linting and run eslint -c .eslintrc-main src test.eslintrc-comp.json for components and run eslint -c .eslintrc-comp commonComponents fooBarComponent