Skip to content

Commit 11d2a54

Browse files
patinthehatPatrick
authored andcommitted
disable unused plugins and options
1 parent f9df498 commit 11d2a54

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.eslintrc.js

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,23 @@ module.exports = {
55
sourceType: 'module', // Allows for the use of imports
66
},
77
env: {
8-
node: false,
8+
node: true,
99
browser: true,
1010
commonjs: true,
1111
},
1212
settings: {},
1313
extends: [
14-
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
14+
//'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
1515
'eslint:recommended',
16-
'prettier/@typescript-eslint', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
16+
//'prettier/@typescript-eslint', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
1717
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
1818
],
1919
rules: {
2020
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
21-
'@typescript-eslint/explicit-function-return-type': 'off',
22-
'@typescript-eslint/no-explicit-any': 'off',
23-
'@typescript-eslint/explicit-module-boundary-types': 'off',
24-
'@typescript-eslint/no-var-requires': 'off',
25-
26-
'@typescript-eslint/no-empty-function': 'off',
21+
// '@typescript-eslint/explicit-function-return-type': 'off',
22+
// '@typescript-eslint/no-explicit-any': 'off',
23+
// '@typescript-eslint/explicit-module-boundary-types': 'off',
24+
// '@typescript-eslint/no-var-requires': 'off',
25+
// '@typescript-eslint/no-empty-function': 'off',
2726
},
2827
};

0 commit comments

Comments
 (0)