forked from immutable-js/immutable-js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
78 lines (78 loc) · 2.06 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
{
"root": true,
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": [
"airbnb",
"prettier",
"prettier/react"
],
"plugins": [
"react",
"prettier"
],
"rules": {
"array-callback-return": "off",
"block-scoped-var": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"constructor-super": "off",
"default-case": "off",
"func-names": "off",
"no-bitwise": "off",
"no-cond-assign": "off",
"no-constant-condition": "off",
"no-continue": "off",
"no-else-return": "error",
"no-empty": "error",
"no-lonely-if": "error",
"no-multi-assign": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-prototype-builtins": "off",
"no-return-assign": "off",
"no-self-compare": "off",
"no-sequences": "off",
"no-shadow": "off",
"no-this-before-super": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": "off",
"no-unused-vars": "error",
"no-use-before-define": "off",
"no-useless-concat": "error",
"no-var": "error",
"object-shorthand": "off",
"one-var": "error",
"operator-assignment": "error",
"prefer-rest-params": "off",
"prefer-spread": "off",
"prefer-template": "off",
"spaced-comment": "off",
"vars-on-top": "off",
"react/jsx-boolean-value": "off",
"react/jsx-filename-extension": "off",
"react/no-array-index-key": "off",
"react/no-danger": "off",
"react/no-multi-comp": "off",
"react/prefer-es6-class": "off",
"react/prefer-stateless-function": "off",
"react/prop-types": "off",
"react/self-closing-comp": "error",
"react/sort-comp": "off",
"import/newline-after-import": "error",
"import/no-extraneous-dependencies": "off",
"import/no-mutable-exports": "error",
"import/no-unresolved": "error",
"import/prefer-default-export": "off",
"jsx-a11y/no-static-element-interactions": "off",
"prettier/prettier": [
"error",
{
"singleQuote": true
}
]
}
}