This repository has been archived by the owner on Jul 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
94 lines (94 loc) · 2.63 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"root": true,
"plugins": ["react"],
"extends": ["eslint:recommended", "plugin:react/recommended"],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {"jsx": true, "experimentalObjectRestSpread": true}
},
"rules": {
"array-bracket-spacing": [2, "never", {"singleValue": true}],
"block-scoped-var": 0,
"block-spacing": "error",
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
"camelcase": [2, {"properties": "never"}],
"comma-style": [2, "last"],
"complexity": 0,
"consistent-this": [2, "self"],
"curly": [2, "all"],
"dot-notation": 2,
"eol-last": 2,
"eqeqeq": "error",
"guard-for-in": "error",
"indent": [2, 2, { "SwitchCase": 1 }],
"key-spacing": ["error", {
"align": {
"beforeColon": false,
"afterColon": true,
"on": "value"
}
}],
"keyword-spacing": [2, {}],
"linebreak-style": [2, "unix"],
"max-depth": 0,
"max-len": [2, 120],
"max-params": 0,
"max-statements": 0,
"new-cap": 2,
"no-bitwise": "error",
"no-caller": 2,
"no-cond-assign": 0,
"no-debugger": 0,
"no-empty": [2, {"allowEmptyCatch": true}],
"no-eq-null": 0,
"no-eval": 0,
"no-extend-native": "error",
"no-invalid-this": 0,
"no-irregular-whitespace": 2,
"no-iterator": 0,
"no-loop-func": 0,
"no-mixed-spaces-and-tabs": 2,
"no-multi-str": 0,
"no-new": 2,
"no-new-func": 0,
"no-new-wrappers": 0,
"no-plusplus": 0,
"no-proto": 0,
"no-script-url": 0,
"no-shadow": 2,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-unused-expressions": 0,
"no-unused-vars": [2, {"varsIgnorePattern": "[iI]gnored", "argsIgnorePattern": "^_"}],
"no-use-before-define": [2, {"functions": false }],
"object-curly-spacing": ["error", "never", { "objectsInObjects": false }],
"operator-linebreak": [2, "after"],
"padded-blocks": 0,
"quote-props": ["error", "consistent-as-needed"],
"quotes": ["error", "single"],
"react/prop-types": [0],
"require-yield": 0,
"semi": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "always"],
"space-infix-ops": 2,
"space-unary-ops": [2, {"words": false, "nonwords": false}],
"spaced-comment": [2, "always", {
"line": {
"markers": ["/"],
"exceptions": ["-", "+"]
},
"block": {
"markers": ["!"],
"exceptions": ["*"],
"balanced": true
}
}],
"strict": [2, "global"],
"valid-jsdoc": 2,
"valid-typeof": 0,
"wrap-iife": [2, "any"],
"yoda": [2, "never"]
}
}