Skip to content

Commit

Permalink
Make @typescript-eslint/naming-convention ignore non alphanumeric keys
Browse files Browse the repository at this point in the history
Closes #53
  • Loading branch information
GauBen committed Mar 24, 2022
1 parent 022fe25 commit 6008e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const getNamingConventionRule = ({isTsx}) => ({
trailingUnderscore: 'allow',
// Ignore `{'Retry-After': retryAfter}` type properties.
filter: {
regex: '[- ]',
regex: '\\W',
match: false
}
},
Expand Down

0 comments on commit 6008e38

Please sign in to comment.