forked from MoralisWeb3/Moralis-JS-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
90 lines (90 loc) · 2.15 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
{
"root": true,
"extends": ["eslint:recommended", "airbnb-base", "prettier"],
"env": {
"node": true,
"es6": true
},
"parser": "@babel/eslint-parser",
"globals": {
"wx": true
},
"plugins": ["flowtype"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"requireConfigFile": false,
"babelOptions": {
"plugins": [
"@babel/plugin-transform-flow-comments",
"@babel/plugin-transform-flow-strip-types"
]
}
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
}
},
"rules": {
"arrow-body-style": 0,
"class-methods-use-this": 0,
"consistent-return": 0,
"eqeqeq": [2, "smart"],
"func-names": 0,
"global-require": 0,
"guard-for-in": 0,
"import/extensions": 0,
"import/first": 0,
"import/newline-after-import": 0,
"import/no-cycle": 0,
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/order": 0,
"import/prefer-default-export": 0,
"import/no-import-module-exports": 0,
"lines-between-class-members": 0,
"max-classes-per-file": 0,
"new-cap": 0,
"no-await-in-loop": 0,
"no-continue": 0,
"no-console": 2,
"no-extra-bind": 0,
"no-lonely-if": 0,
"no-multi-assign": 0,
"no-new": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-prototype-builtins": 0,
"no-restricted-globals": 0,
"no-restricted-properties": 0,
"no-restricted-syntax": 0,
"no-return-assign": 0,
"no-return-await": 0,
"no-shadow": 0,
"no-throw-literal": 0,
"no-underscore-dangle": 0,
"no-unneeded-ternary": 0,
"no-unused-vars": 0,
"no-use-before-define": 0,
"object-shorthand": 0,
"prefer-destructuring": [
2,
{
"array": false,
"object": true
}
],
"prefer-promise-reject-errors": 0,
"prefer-rest-params": 0,
"prefer-spread": 0,
"radix": 0,
"no-inline-comments": 2,
"no-promise-executor-return": 0,
"no-unreachable-loop": 0,
"no-constructor-return": 0,
"prefer-exponentiation-operator": 0,
"prefer-regex-literals": 0
}
}