-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
28 lines (28 loc) · 858 Bytes
/
.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
{
"parser": "babel-eslint",
"extends": [ "eslint:recommended", "plugin:react/recommended"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"env": {
"browser": true,
"node": true
},
"rules": {
"react/prop-types" : 0,
"react/display-name": 0,
"indent": ["error", 2],
"keyword-spacing": ["error", { "before": true, "after": true }],
"jsx-quotes": ["error", "prefer-single"],
"generator-star-spacing": ["error", {"before": true, "after": true}],
"space-before-function-paren": ["error", "always"],
"no-empty": ["error", {"allowEmptyCatch": true}],
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": false }],
"brace-style": [2, "1tbs", { "allowSingleLine": false }],
"eol-last": ["error", "always"],
"no-console": 0
}
}