forked from ground-x/caver-js-ext-kas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
54 lines (54 loc) · 1.49 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
47
48
49
50
51
52
53
54
module.exports = {
extends: ['airbnb', 'prettier'],
env: {
commonjs: true,
node: true,
mocha: true,
},
plugins: ['prettier'],
rules: {
'prettier/prettier': ['error'],
radix: 0,
eqeqeq: 0,
'new-cap': 0,
'no-empty': 0,
'no-console': 0,
'no-bitwise': 0,
'func-names': 0,
'no-continue': 0,
'no-plusplus': 0,
'no-sequences': 0,
'default-case': 0,
'guard-for-in': 0,
'prefer-spread': 0,
'global-require': 0,
'no-multi-assign': 0,
'no-await-in-loop': 0,
'no-control-regex': 0,
'object-shorthand': 0,
'no-return-assign': 0,
'consistent-return': 0,
'no-nested-ternary': 0,
'no-param-reassign': 0,
'prefer-rest-params': 0,
'no-use-before-define': 0,
'no-restricted-syntax': 0,
'no-underscore-dangle': 0,
'prefer-destructuring': 0,
'no-case-declarations': 0,
'no-restricted-globals': 0,
'array-callback-return': 0,
'no-unused-expressions': 0,
'import/no-dynamic-require': 0,
'import/no-extraneous-dependencies': 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"no-prototype-builtins": 0,
'no-proto': 1,
'prefer-const': 1,
'no-multi-assign': 1,
'class-methods-use-this': 1,
"no-undef": 1,
"no-unused-vars": 1,
},
}