-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
54 lines (54 loc) · 1.4 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
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"no-unused-vars": "warn",
"no-console": "warn",
"camelcase": "off",
"indent": "off",
"func-names": "off",
"no-confusing-arrow": "off",
"implicit-arrow-linebreak": "off",
"no-process-exit": "off",
"object-shorthand": "off",
"class-methods-use-this": "off",
"prefer-template": "warn",
"eol-last": "off",
"arrow-parens": "off",
"comma-dangle": "off",
"space-before-function-paren": "off",
"wrap-iife": "off",
"react/jsx-indent": "off",
"jsx-quotes": "off",
"arrow-body-style": "off",
"object-curly-newline": "off",
"react/jsx-curly-newline": "off",
"react/jsx-curly-brace-presence": "off",
"react/jsx-indent-props": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
]
}
}