-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy path.eslintrc.json
More file actions
38 lines (38 loc) · 827 Bytes
/
.eslintrc.json
File metadata and controls
38 lines (38 loc) · 827 Bytes
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
{
"env": {
"browser": true,
"es6": true,
"mocha": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:flowtype/recommended",
"plugin:prettier/recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["flowtype", "react"],
"rules": {
"comma-dangle": ["error", "always-multiline"],
"flowtype/no-types-missing-file-annotation": "off",
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"]
},
"settings": {
"react": {
"flowVersion": "0.79",
"version": "16.2"
}
}
}