forked from wagtail/wagtail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
25 lines (24 loc) · 847 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
{
"extends": "airbnb",
"rules": {
"indent": [2, 2],
"max-len": [1, 120, 4, {"ignoreUrls": true}],
"id-length": [1, {"min": 2, "exceptions": ["x", "y", "e", "i", "j", "k", "d", "n", "_", "$"]}],
"object-shorthand": [2, "methods"],
"no-new": [1],
"comma-dangle": [0],
"no-multi-spaces": [0],
"prefer-template": [0],
"no-var": [0],
"prefer-arrow-callback": [1],
"no-undef": [1],
"no-unused-vars": [1],
"no-warning-comments": [1, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
"react/sort-comp": [0],
"react/jsx-boolean-value": [0],
"react/jsx-no-bind": [0],
"react/prefer-es6-class": [0, 'never'],
"react/jsx-indent-props": [2, 4],
"jsx-quotes": [1, "prefer-double"]
}
}