Skip to content

Commit

Permalink
fix(@typescript-eslint): require var names to be camel or upper case
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Feb 20, 2020
1 parent c839b33 commit 52d2a30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion @typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const config = {
],
'@typescript-eslint/naming-convention': [
'error',
{ selector: 'typeLike', format: ['PascalCase'] }
{ selector: 'typeLike', format: ['PascalCase'] },
{ selector: 'variable', format: ['camelCase', 'UPPER_CASE'] }
],
'@typescript-eslint/no-dynamic-delete': 'error',
'@typescript-eslint/no-extra-non-null-assertion': 'error',
Expand Down

0 comments on commit 52d2a30

Please sign in to comment.