Skip to content

Commit

Permalink
fix(@typescript-eslint): add default name formats
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Feb 21, 2020
1 parent e7a890e commit b7b1168
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions @typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ const config = {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'default',
format: ['camelCase', 'PascalCase', 'UPPER_CASE']
},
{ selector: 'typeLike', format: ['PascalCase'] },
{
selector: 'typeParameter',
Expand Down

0 comments on commit b7b1168

Please sign in to comment.