forked from PaulLeCam/react-leaflet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
41 lines (41 loc) · 781 Bytes
/
.eslintrc.json
File metadata and controls
41 lines (41 loc) · 781 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
39
40
41
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"plugin:flowtype/recommended",
"plugin:react/recommended",
"prettier",
"prettier/flowtype",
"prettier/react"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"jsx": true,
"sourceType": "module"
},
"plugins": ["flowtype", "prettier", "react"],
"rules": {
"no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
],
"prettier/prettier": [
"error",
{
"jsxBracketSameLine": true,
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
]
},
"settings": {
"react": {
"version": "16.8",
"flowVersion": "0.98"
}
}
}