-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc
27 lines (27 loc) · 857 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
{
"parser": "babel-eslint",
"extends": [
"eslint-config-airbnb/rules/es6",
"@atlassian/atlassian-fecq"
],
// our custom rules
"rules": {
"space-before-function-paren": [2, { "anonymous": "never", "named": "never" }],
"semi": [2, "always"],
"no-warning-comments": [1, { "terms": ["todo", "fixme"], "location": "anywhere" }],
"space-after-keywords": [2, "always"],
"react/jsx-indent-props": [2, 4],
"react/jsx-no-bind": [2, {
"ignoreRefs": false,
"allowArrowFunctions": false,
"allowBind": false
}],
// http://eslint.org/docs/rules/quotes.html
// allows "single quotes", "internal "double" quotes" and `es6 backticks`
"quotes": [
2,
"single"
],
"eol-last": 2
}
}