-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
53 lines (53 loc) · 1.25 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"strict": 0,
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
"global-require": "off",
"comma-dangle": "off",
"indent": ["error", 2],
"space-in-parens": ["error", "never"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"no-trailing-spaces": "error",
"no-whitespace-before-property": "error",
"object-shorthand": ["error", "always"],
"no-irregular-whitespace": 0,
"react/prefer-stateless-function": [
0,
{
"ignorePureComponents": false
}
],
"react/prop-types": [
0,
{
"ignore": 2,
"customValidators": 2
}
],
"no-multi-str": "off",
"no-undef": "off",
"no-console": "off",
"arrow-body-style": "off",
"import/prefer-default-export": "off",
"max-len": [
0
],
"no-alert": "off",
"react/no-multi-comp": "off",
"no-nested-ternary": "off",
"import/no-extraneous-dependencies": [
"off",
{
"devDependencies": false,
"optionalDependencies": false,
"peerDependencies": false
}
],
"consistent-return": "off",
"arrow-parens": "off",
"quote-props": "off"
}
}