Closed MhMadHamster closed 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?
filenames/match-exported
["error", null, "\\.react$"]
login/index.react.js
export default class Login {}
nvm found a similar issue
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?