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 585cb2f commit 3ec6dd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-config-typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ module.exports = {
leadingUnderscore: 'allow',
trailingUnderscore: 'forbid',
},
{
selector: 'import',
format: ['camelCase', 'PascalCase'],
},
{
selector: ['typeLike', 'enumMember'],
format: ['StrictPascalCase'],
Expand Down

0 comments on commit 3ec6dd8

Please sign in to comment.