-
Notifications
You must be signed in to change notification settings - Fork 46
/
.eslintrc
34 lines (34 loc) · 932 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
29
30
31
32
33
34
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 8,
"requireConfigFile": false
},
"extends": [
"airbnb",
"plugin:flowtype/recommended",
"plugin:jest/recommended"
],
"env": {
"browser": true,
"mocha": true,
"node": true
},
"rules": {
"react/jsx-filename-extension": [0],
"max-len": [1, 120],
"object-curly-newline": ["error", {
"ObjectExpression": { "minProperties": 12, "multiline": true, "consistent": true },
"ObjectPattern": { "minProperties": 12, "multiline": true, "consistent": true },
"ImportDeclaration": { "minProperties": 12, "multiline": true, "consistent": true },
"ExportDeclaration": { "minProperties": 12, "multiline": true, "consistent": true }
}],
"react/jsx-props-no-spreading": [0],
"quote-props": [0],
"react/require-default-props": [0]
},
"plugins": [
"react",
"flowtype"
]
}