Skip to content

Commit

Permalink
fix(eslint): add rule for filename matching regex
Browse files Browse the repository at this point in the history
  • Loading branch information
pandatix committed Dec 3, 2024
1 parent 9513113 commit cf76a2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ export default [
},

rules: {
"filenames/match-regex": ["error", "^[a-z0-9-]+(\\.test)?$"],

'eslint-comments/no-use': 'off',
'import/no-namespace': 'off',
'no-unused-vars': 'off',
Expand Down

0 comments on commit cf76a2e

Please sign in to comment.