-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
58 lines (58 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
55
56
57
58
{
"parser": "babel-eslint",
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"jest": true
},
"extends": "airbnb",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["react"],
"settings": {
"react": {
"version": "16"
}
},
"rules": {
"arrow-body-style": "off",
"arrow-parens": "off",
"comma-dangle": "off",
"consistent-return": "off",
"dot-notation": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"max-len": [2, 120, 2, {
"ignoreComments": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreUrls": true
}
],
"no-console": "off",
"no-multi-spaces": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"object-curly-newline": "off",
"operator-linebreak": "off",
"padded-blocks": "off",
"quote-props": "off",
"react/jsx-boolean-value": "off",
"react/jsx-filename-extension": "off",
"react/jsx-one-expression-per-line": "off",
"react/forbid-prop-types": "off",
"react/no-multi-comp": "off",
"react/prefer-stateless-function": "off",
"react/prop-types": "off"
}
}