forked from maxmarinich/react-alice-carousel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
57 lines (57 loc) · 1.38 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
54
55
56
57
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true,
"arrowFunctions": true
}
},
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"plugins": ["prettier", "react"],
"rules": {
"space-before-function-paren": "off",
"react/prefer-stateless-function": "warn",
"react/jsx-one-expression-per-line": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"linebreak-style": "off",
"global-require": "off",
"arrow-body-style": "off",
"no-multiple-empty-lines": ["warn", {"max": 1}],
"max-len": 0,
"comma-dangle": 0,
"semi": [
"error", "never"
],
"no-extra-semi": "error",
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-debugger": 0,
"no-console": [
"error", {
"allow": ["debug"]
}
],
"new-cap": 0,
"strict": 2,
"no-unused-vars" : 1,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"no-extra-boolean-cast": 0,
"eol-last": 2,
"quotes": [2, "single"],
"jsx-quotes": [2, "prefer-double"],
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/prop-types": 1
},
"globals": {
"expect": true
}
}