-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 1.19 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": module,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
},
"rules": {
"react/require-default-props": 0,
"arrow-parens": ["error", "as-needed"],
"class-methods-use-this": 0,
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never",
}],
"global-require": 0,
"import/newline-after-import": 0,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"import/no-dynamic-require": 0,
"jsx-a11y/no-static-element-interactions": 0,
"max-len": 0,
"new-cap": 0,
"no-console": 0,
"no-path-concat": 0,
"no-underscore-dangle": 0,
"no-use-before-define": [2, "nofunc"],
"prefer-template": 0,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js"] }],
"semi": ["error", "never"],
"space-before-function-paren": [2, "never"]
}
}