forked from City-of-Helsinki/kerrokantasi-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
30 lines (30 loc) · 902 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
{
"extends": "airbnb",
"env": {"browser": true, "node": true},
"globals": {"__DEVTOOLS__": true},
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"plugins": [
"react"
],
"rules": {
"arrow-body-style": 0,
"comma-dangle": 0,
"id-length": [2, {"min": 2, "properties": "never", "exceptions": ["_"]}],
"max-len": [1, 120],
"new-cap": [2, {"capIsNew": false, "newIsCap": true}],
"no-use-before-define": [2, "nofunc"],
"object-curly-spacing": 0,
"prefer-template": 0,
"quotes": 0,
"react/jsx-no-bind": 0, // disabled as we use es6 (see https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-bind.md#es6-classes)
"react/jsx-space-before-closing": 0,
"react/prefer-stateless-function": 0,
"react/jsx-indent-props": 0,
"react/sort-comp": 0,
}
}