Skip to content

Commit

Permalink
feat: Update enum name convention (#278)
Browse files Browse the repository at this point in the history
* feat: Update enum name convention

* feat: Add PascalCase for enum name
  • Loading branch information
cyaiox authored Aug 3, 2023
1 parent c8f6fe3 commit 35fea0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dapps.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ module.exports = {
types: ['function'],
format: ['StrictPascalCase', 'strictCamelCase'],
},
{ selector: ['enum'], format: ['UPPER_CASE', 'PascalCase'], leadingUnderscore: 'allow' },
{ selector: ['enumMember'], format: ['UPPER_CASE'], leadingUnderscore: 'allow' },
],
'import/order': [
'error',
Expand Down

0 comments on commit 35fea0b

Please sign in to comment.