-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc
32 lines (25 loc) · 976 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": ["eslint-plugin-babel"],
"rules": {
"indent": [2, 4, { "SwitchCase": 1 }],
"max-len": [2, 120, 4],
"no-warning-comments": 1,
"class-methods-use-this": 0,
"arrow-parens": ["off", "as-needed"],
"prefer-template": "off",
"no-useless-escape": "off",
"no-use-before-define": "off",
"no-param-reassign": "off",
"generator-star-spacing": 0,
"babel/generator-star-spacing": [2, { "before": false, "after": true }],
"import/order": [2, { "groups": ["builtin", "external", "internal", "parent", "sibling", "index"], "newlines-between": "always"}],
"import/newline-after-import": [2],
"import/no-extraneous-dependencies": [1],
"import/no-unresolved": [1],
"react/jsx-indent": [2, 4],
"react/jsx-indent-props": [2, 4],
"react/jsx-filename-extension": 0
}
}