-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc.json
114 lines (111 loc) · 3 KB
/
.eslintrc.json
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"root": true,
"extends": [
"airbnb",
"prettier",
"plugin:node/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:jsx-a11y/recommended",
"plugin:prettier/recommended"
],
"plugins": [
"prettier",
"@typescript-eslint"
],
"env" : {
"browser" : true,
"node" : true,
"es6" : true
},
"rules": {
"as-needed": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-unused-vars-experimental": 0,
"unused-imports/no-unused-imports": 0,
"no-new-func":0,
"prettier/prettier":0,
"guard-for-in":0,
"block-scoped-var":0,
"no-prototype-builtins":0,
"no-redeclare":0,
"import/namespace":0,
"no-nested-ternary": "off",
"semi": [2, "always"],
"array-callback-return":0,
"no-case-declarations":0,
"no-process-exit":0,
"no-await-in-loop":0,
"no-global-assign":0,
"max-classes-per-file":0,
"import/no-extraneous-dependencies":0,
"node/no-extraneous-import":0,
"class-methods-use-this":0,
"default-param-last":0,
"no-useless-escape":0,
"no-continue":0,
"no-undef": "off",
"no-console": 0,
"no-path-concat":0,
"import/no-mutable-exports":0,
"import/no-cycle": "off",
"no-var": "off",
"consistent-return": "off",
"no-underscore-dangle": "off",
"import/order": "off",
"vars-on-top": "off",
"prefer-const": "off",
"prefer-template": "off",
"object-shorthand": "off",
"no-param-reassign": "off",
"spaced-comment": "off",
"no-shadow": "off",
"import/newline-after-import": "off",
"no-use-before-define": "off",
"func-names": "off",
"no-else-return": "off",
"global-require": "off",
"prefer-arrow-callback": "off",
"prefer-rest-params": "off",
"prefer-destructuring": "off",
"arrow-body-style": "off",
"node/no-missing-require": "off",
"node/no-missing-import": ["error", {
"allowModules": [],
"resolvePaths": ["/path/to/a/modules/directory"],
"tryExtensions": [".js",".ts", ".json", ".node"]
}],
"node/no-unsupported-features/es-syntax": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"lines-around-directive":"off",
"import/no-default-export": 0,
"import/prefer-default-export": 0,
"default-case":"off",
"no-unused-expressions":"off",
"no-fallthrough": "off",
"eqeqeq": "off",
"radix": "off",
"camelcase": "off",
"import/no-dynamic-require": "off",
"no-restricted-syntax": "off",
"no-lonely-if":"off",
"node/no-unpublished-require": "off",
"strict": "off",
"no-plusplus": "off",
"no-multi-assign": "off",
"node/no-unpublished-import": ["error", {
"allowModules": ["chai","mocha"]
}]
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true // Allows for the parsing of JSX
}
}
}