Skip to content

Commit

Permalink
fix: add eslint naming-convention import rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mindrunner committed Nov 11, 2023
1 parent cc11f9f commit 689ba03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ const namingConventions = [
selector: 'objectLiteralProperty',
modifiers: ['requiresQuotes'],
format: null
},
{
selector: 'import',
format: ['camelCase', 'PascalCase', 'snake_case', 'UPPER_CASE'],
}
]

Expand Down

0 comments on commit 689ba03

Please sign in to comment.