eslint-plugin-filenames
eslint-plugin-filenames copied to clipboard
Feature Request: Do not apply match-exported if file is index.js
The organization I work for has a rule very similar to what match-exported provides, except that we do not want exports from an index.js
file to need to match the directory name.
We'd love to have something like another option to match-exported which would allow us to ask that it ignore index.js
files.
overrides: [
{
files: ['**/index.js'],
rules: {
'filenames/match-exported': 0
}
}
],