Skip to content

Commit

Permalink
fix: support more extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
crisfcodes committed Feb 28, 2022
1 parent 48bc416 commit 823b40c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filenames.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ module.exports = {
rules: {
'filenames/match-regex': [
'error',
'^\\.?[a-z-]+\\.?(config|test|queries|types)?\\.?(d)?$',
'^\\.?[a-z-]+\\.?(config|test|queries|types|stories|logic|layout|models|generated|styles)?\\.?(d)?$',
true,
],
'filenames/match-exported': [
'error',
'kebab',
'\\.(config|test|queries|types)$',
'\\.(config|test|queries|types|stories|logic|layout|models|generated|styles)$',
true,
],
'filenames/no-index': 'off',
Expand Down

0 comments on commit 823b40c

Please sign in to comment.