Skip to content

Commit

Permalink
Enum members should use PascalCase.
Browse files Browse the repository at this point in the history
  • Loading branch information
filmaj committed Aug 23, 2021
1 parent 1569dc1 commit 84afc50
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 @@ -226,6 +226,10 @@ module.exports = {
'selector': 'objectLiteralProperty',
format: ['camelCase', 'snake_case', 'PascalCase']
},
{
selector: ['enumMember'],
format: ['PascalCase'],
},
],

// Allow cyclical imports. Turning this rule on is mainly a way to manage the performance concern for linting
Expand Down

0 comments on commit 84afc50

Please sign in to comment.