-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
71 lines (71 loc) · 1.67 KB
/
.eslintrc
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
{
"extends": "airbnb",
"plugins": [
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jquery": true,
"mocha": true
},
"rules": {
"react/require-extension": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": "off",
"react/jsx-boolean-value": "off",
"react/no-array-index-key": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-no-bind": "off",
"react/prop-types": "off",
"react/no-multi-comp": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"nonblock-statement-body-position": "off",
"operator-linebreak": "off",
"prefer-destructuring": "off",
"indent": "off",
"no-use-before-define": "off",
"no-param-reassign": "off",
"no-continue": "off",
"no-console": 0,
"no-debugger": 1,
"no-var": 1,
"semi": [1, "always"],
"no-trailing-spaces": 0,
"eol-last": 0,
"class-methods-use-this": 0,
"no-underscore-dangle": 0,
"no-alert": 0,
"no-empty": 0,
"no-loop-func": 0,
"no-bitwise": 0,
"quotes": 0,
"comma-dangle": 0,
"max-len": 0,
"arrow-parens": 0,
"object-curly-newline": 0,
"function-paren-newline": 0,
"implicit-arrow-linebreak": 0,
"curly": 0,
"no-mixed-operators": 0,
"no-restricted-syntax": 0,
"no-lone-blocks": 0,
"yoda": 0,
"no-plusplus": 0,
"no-cond-assign": 0
},
"globals": {
"wx": true
},
"settings": {
}
}