Skip to content

Commit b0931ad

Browse files
committed
fix: try to exclude test files from matching
1 parent 0f0a27f commit b0931ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/eslint-config-base/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ export default [
2828
"check-file/filename-naming-convention": [
2929
"error",
3030
{
31-
"**/*": "+([a-z0-9-.])",
32-
"**/*.{.vue,jsx}": "+([A-Za-z0-9-])",
31+
"**/*!{.js,.mjs,.jsx,.vue}": "+([a-z0-9-.])",
32+
"!(test)**/*.{js,mjs}": "+([a-z0-9-.])",
33+
"!(test)**/*.{vue,jsx}": "+([A-Za-z0-9-])",
3334
"test/**/*.{js,mjs,jsx}": "*(_)+([a-z0-9-])",
3435
},
3536
],

0 commit comments

Comments
 (0)