-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc.js
46 lines (46 loc) · 1.2 KB
/
.eslintrc.js
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
38
39
40
41
42
43
44
45
46
module.exports = {
parser: '@typescript-eslint/parser',
env: {
node: false,
es6: true,
},
rules: {
quotes: [2, 'single'],
camelcase: 0,
'max-classes-per-file': 0,
'import/extensions': 0,
'prefer-destructuring': ['error', {'object': false, 'array': false}],
'no-useless-escape': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
// Added to get linter initially working, none of the below should be kept
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-unused-vars': 0,
'no-plusplus': 0,
'no-constant-condition': 0,
'import/no-unresolved': 0,
'no-useless-constructor': 0,
'no-use-before-define': 0,
eqeqeq: 0,
'no-underscore-dangle': 0,
'no-param-reassign': 0,
'no-undef': 0,
'func-names': 0,
'vars-on-top': 0,
'no-var': 0,
'no-shadow': 0,
'no-multi-assign': 0,
'no-empty': 0,
'no-labels': 0,
'block-scoped-var': 0,
'no-lone-blocks': 0,
'no-return-assign': 0,
'no-restricted-syntax': 0,
'guard-for-in': 0,
'@typescript-eslint/ban-types': 0
},
plugins: ['@typescript-eslint'],
extends: [
'airbnb-base',
'plugin:@typescript-eslint/recommended',
],
};