-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc
59 lines (54 loc) · 1.24 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
{
parser: 'babel-eslint',
extends: 'airbnb',
globals: {
window: 0,
document: 0,
},
rules: {
// Hard rules
semi: [2, 'never'],
no-console: 0,
no-mixed-operators: 0,
react/no-multi-comp: 0,
react/no-unused-state: 0,
react/prop-types: 0,
// Probably worth adding gradually
arrow-parens: 0,
arrow-body-style: 0,
comma-dangle: 0,
function-paren-newline: 0,
import/no-extraneous-dependencies: 0,
indent: [0, 2, { MemberExpression: 0 } ],
linebreak-style: 0,
no-shadow: 0,
no-use-before-define: 0,
object-curly-newline: 0,
prefer-destructuring: 0,
prefer-rest-params: 0,
quotes: 0,
quote-props: 0,
react/sort-comp: 0,
// Not worth enforcing
camelcase: 0,
class-methods-use-this: 0,
consistent-return: 0,
global-require: 0,
import/newline-after-import: 0,
import/no-dynamic-require: 0,
max-len: 0,
no-alert: 0,
no-await-in-loop: 0,
no-bitwise: 0,
no-case-declarations: 0,
no-multi-assign: 0,
no-nested-ternary: 0,
no-param-reassign: 0,
no-plusplus: 0,
no-prototype-builtins: 0,
no-return-assign: 0,
no-restricted-globals: 0,
no-underscore-dangle: 0,
padded-blocks: 0,
}
}