You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exclamation mark in the glob pattern is used to exclude some path names from being validated, however it is not working as expected. The projects._index folder in my repo is not ignored, thus eslint gives an error, while the users._index folder is correctly ignored.
I guess this issue may be related with the projects._index folder containing sub folders.
1:1 error The folder "projects._index" does not match the "SNAKE_CASE" pattern check-file/folder-naming-convention
Expected behavior
Ignore all folders matching the ignore pattern
The text was updated successfully, but these errors were encountered:
webpolis
changed the title
Ignoring folder's pattern does not work when folder has subfolders
Ignore folder pattern does not work when folder has subfolders
Oct 15, 2024
Describe the bug
The exclamation mark in the glob pattern is used to exclude some path names from being validated, however it is not working as expected. The projects._index folder in my repo is not ignored, thus eslint gives an error, while the users._index folder is correctly ignored.
I guess this issue may be related with the projects._index folder containing sub folders.
Expected behavior
Ignore all folders matching the ignore pattern
Plugin configuration
I tried as well by adding a * at the end but that makes the others fail as well:
Project structure
The text was updated successfully, but these errors were encountered: