Closed reintroducing closed 1 year ago
I think it would be great if you could do something like this:
module.exports = { plugins: ['filename-rules'], rules: { 'filename-rules/match': [2, {'.js': ['camelCase', 'PascalCase']}], }, };
Any chance of supporting that?
Would this allow both options? If so, you can currently do this with a custom regex, just combine the two predefined ones with an or. But I am accepting PRs if someone wants to add this.
I think it would be great if you could do something like this:
Any chance of supporting that?