Skip to content

Commit

Permalink
style: order rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Jun 10, 2022
1 parent c1ef813 commit 2fc3983
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,14 @@ module.exports = {
],

// Custom @typescript-eslint
'@typescript-eslint/explicit-function-return-type': 'error',
'@typescript-eslint/quotes': [
'error',
'single',
{
avoidEscape: true,
},
],
'@typescript-eslint/array-type': [
'error',
{
default: 'array-simple',
},
],
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/explicit-function-return-type': 'error',
'@typescript-eslint/explicit-member-accessibility': [
'error',
{
Expand All @@ -67,14 +61,20 @@ module.exports = {
},
},
],
'@typescript-eslint/member-ordering': 'error',
"@typescript-eslint/no-shadow": "error",
'@typescript-eslint/prefer-for-of': 'error',
'@typescript-eslint/prefer-function-type': 'error',
'@typescript-eslint/member-ordering': 'error',
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/quotes': [
'error',
'single',
{
avoidEscape: true,
},
],
'@typescript-eslint/type-annotation-spacing': 'error',
'@typescript-eslint/unified-signatures': 'error',
"no-shadow": "off",
"@typescript-eslint/no-shadow": "error",
},
ignorePatterns: ['*.js'],
};

0 comments on commit 2fc3983

Please sign in to comment.