selaux / eslint-plugin-filenames

Eslint plugin to check filenames.
318 stars 35 forks source link

index file with suffix #32

Closed MhMadHamster closed 6 years ago

MhMadHamster commented 6 years ago

Currently filenames/match-exported rule is not supporting index files with suffix i.e. for rule ["error", null, "\\.react$"] this: login/index.react.js -> export default class Login {} will result in an error. Is this a bug or by design?

MhMadHamster commented 6 years ago

nvm found a similar issue