Skip to content

Commit

Permalink
Add configuration for @typescript-eslint/naming-convention import sel…
Browse files Browse the repository at this point in the history
…ector
  • Loading branch information
leroykorterink committed Feb 23, 2024
1 parent 3ec6dd8 commit 0808717
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-config-typescript-react/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ module.exports = {
leadingUnderscore: 'allow',
trailingUnderscore: 'forbid',
},
{
selector: 'import',
format: ['camelCase', 'PascalCase'],
},
{
selector: ['variable', 'function'],
format: ['StrictPascalCase', 'strictCamelCase'],
Expand Down

0 comments on commit 0808717

Please sign in to comment.