Closed rwu823 closed 7 years ago
Only if that file has no named export otherwise it is:
{
'filenames/match-regex': ['error', '^[a-z]+$']
}
(the third parameter being the option for ignoring files with default exports.
@selaux It's still no working.
Can you please elaborate on what is not working? Are files not reported as errors? How does the directory structure look etc.
root/
├── Dev/
└── tasks/
The Dev
dir or filename is passed in the rule.
Do other rules apply to the tasks directory? (Sorry, didn't see the response)
Closed due to inactivity.
This RegExp that's mean only be allowed lowercase filename, right? But it's not working.