-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
37 lines (37 loc) · 1.07 KB
/
.eslintrc.js
File metadata and controls
37 lines (37 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
module.exports = {
extends: ['@ehacke/eslint-config'],
// Had to basically disable everything good, because this code is copied from npm
rules: {
'block-scoped-var': 'off',
'consistent-return': 'off',
'func-names': 'off',
'jsdoc/require-param-type': 'off',
'jsdoc/require-returns': 'off',
'lodash/prefer-lodash-typecheck': 'off',
'max-depth': 'off',
'no-multi-assign': 'off',
'no-process-env': 'off',
'no-restricted-syntax': 'off',
'no-secrets/no-secrets': 'off',
'no-shadow': 'off',
'no-unused-vars': 'off',
'no-use-before-define': 'off',
'no-var': 'off',
'prefer-destructuring': 'off',
'prefer-rest-params': 'off',
'sonarjs/cognitive-complexity': 'off',
'unicorn/explicit-length-check': 'off',
'unicorn/filename-case': 'off',
'unicorn/no-for-loop': 'off',
'unicorn/prefer-optional-catch-binding': 'off',
'vars-on-top': 'off',
},
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx', '.d.ts', '.json'],
},
typescript: {},
},
},
};