-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc
38 lines (38 loc) · 828 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
34
35
36
37
38
{
"extends": [
"airbnb",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["prettier"],
"env": {
"es6": true,
"node": true
},
"rules": {
"arrow-parens": "off",
"object-curly-spacing": ["warn", "never"],
"max-len": ["error", 120, 4],
"no-confusing-arrow": "warn",
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"react/jsx-filename-extension": "off",
"prettier/prettier": ["error", {
"trailingComma": "es5",
"singleQuote": true,
"bracketSpacing": false,
"printWidth": 120
}]
}
}