Skip to content

Commit

Permalink
🔧 chore(.eslintrc.cjs): reorganize extends array
Browse files Browse the repository at this point in the history
  • Loading branch information
RagnarLothbrok-Odin committed Dec 22, 2023
1 parent 89660f9 commit a0417f4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ module.exports = {
tsconfigRootDir: __dirname,
},
plugins: ['@typescript-eslint'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', require.resolve("eslint-config-airbnb/base")],
extends: [
'eslint:recommended',
require.resolve("eslint-config-airbnb/base"),
'plugin:@typescript-eslint/recommended',
],
rules: {
'quotes': ['error', 'single'],
'object-curly-spacing': ['error', 'always'],
Expand Down Expand Up @@ -35,7 +39,5 @@ module.exports = {
'no-throw-literal': 'off',
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error'],
},
};

0 comments on commit a0417f4

Please sign in to comment.