-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy path.eslintrc
51 lines (51 loc) · 1.52 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"comma-dangle": ["error", "never"],
"jsx-quotes": ["error", "prefer-double"],
"max-len": ["off"],
"no-alert": ["off"],
"no-console": ["off"],
"prefer-template": ["off"],
"semi": ["error", "always"],
"react/require-extension": "off",
"camelcase": "off",
"quotes": "off",
"indent": "off",
"no-confusing-arrow": "off",
"arrow-parens": "off",
"no-await-in-loop": "off",
"react/destructuring-assignment": "off",
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off",
"react/forbid-prop-types": "off",
"import/no-extraneous-dependencies": "off",
"implicit-arrow-linebreak": "off",
"function-paren-newline": "off",
"object-curly-newline": "off",
"import/order": "warn",
"class-methods-use-this": "warn",
"operator-linebreak": "off",
"consistent-return": "warn",
"no-nested-ternary": "warn",
"react/no-string-refs": "off",
"react/no-unused-state": "warn",
"react/static-property-placement": "off",
"react/jsx-one-expression-per-line": "off",
"react/no-array-index-key": "warn",
"react/state-in-constructor": "off",
"react/sort-comp": "off",
"react/jsx-curly-newline": "off",
"react/jsx-wrap-multilines": "off",
"max-classes-per-file": "off"
},
"env": { "jest": true, "node": true, "browser": true, "jasmine": true },
"settings": {
"import/resolver": {
"babel-module": {
"root": ["."]
}
}
}
}