forked from ClearC2/react-excel-workbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
64 lines (64 loc) · 1.74 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
{
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"jquery" : true
}
},
"parser": "babel-eslint",
"plugins": [
"react"
],
"extends": ["eslint:recommended", "plugin:react/recommended"],
"rules":{
"no-console":1,
"semi": ["error", "never"],
"curly": ["error", "multi-line"],
"no-extra-bind": "error",
"no-floating-decimal": "error",
"no-multi-spaces": "error",
"yoda": ["error", "never", {"exceptRange":true}],
"array-bracket-spacing": ["error", "never"],
"block-spacing": ["error", "never"],
"brace-style": ["error", "1tbs", {"allowSingleLine": true}],
"comma-spacing": ["error", {"before": false, "after": true}],
"computed-property-spacing": ["error", "never"],
"func-call-spacing": ["error", "never"],
"indent": ["error", 2],
"jsx-quotes": ["error", "prefer-double"],
"keyword-spacing": "error",
"no-trailing-spaces": "error",
"object-curly-newline": ["error", { "multiline": true }],
"object-curly-spacing": ["error", "never"],
"space-before-blocks": "error",
"space-before-function-paren": "error",
"space-in-parens": ["error", "never"],
"spaced-comment": "error",
"arrow-spacing": "error"
},
"globals": {
"$": false,
"global": true,
"APP_ENV": false,
"NODE_ENV": false,
"document": false,
"console": false,
"localStorage": false,
"window": false,
"require": false,
"Promise": false,
"setInterval": false,
"clearInterval": false,
"setTimeout": false,
"clearTimeout": false,
"Blob": false,
"ArrayBuffer": false,
"Uint8Array": false,
"describe": false,
"before": false,
"beforeEach": false,
"it": false,
"exports": false,
"module": false
}
}