-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
33 lines (31 loc) · 809 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
{
"parser": "babel-eslint",
"extends": [
"standard",
"standard-react"
],
"env": {
"es6": true
},
"plugins": [
"react"
],
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true
},
"rules": {
// don't force es6 functions to include space before paren
"space-before-function-paren": 0,
// allow specifying true explicitly for boolean props
"react/jsx-boolean-value": 0,
// allow imports mixed with non-import statements at top of file
"import/first": 0,
"indent": [2, "tab", { "ignoreComments": true }],
"react/jsx-indent": [2, "tab"],
"no-tabs": 0,
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"semi-spacing": [2, {"before": false, "after": true}],
"semi": [2, "always"]
}
}