dukeluo / eslint-plugin-check-file

ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder.

Home Page:https://www.npmjs.com/package/eslint-plugin-check-file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with check-file/folder-naming-convention

DAMIENDURAND64 opened this issue · comments

Describe the bug
cannot exclude folders named tests

Expected behavior
'check-file/folder-naming-convention' : I would like to check every name's folder except tests

Project structure

Capture d’écran 2024-03-04 à 16 19 29

Here is how I am using it :
'check-file/folder-naming-convention': [
'error',
{
'src/components!(tests)/**/': 'CAMEL_CASE',
},
],