-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
57 lines (57 loc) · 1.56 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true
},
"extends": [
"eslint-config-airbnb",
"plugin:prettier/recommended",
"prettier/react"
],
"plugins": [
"jest",
"prettier"
],
"rules": {
"import/prefer-default-export": 0,
"prettier/prettier": "error",
"no-bitwise": ["error", { "allow": ["~"] }],
"no-tabs": 1,
"indent": ["error", 2, { "SwitchCase": 1 }],
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
"space-before-function-paren": [0, "always"],
"arrow-body-style": [0, "always"],
"function-paren-newline": 0,
"global-require": 1,
"no-nested-ternary": 1,
"no-param-reassign": 1,
"no-plusplus": 1,
"no-loop-func": 0,
"no-await-in-loop": 0,
"no-continue": 1,
"no-case-declarations": 0,
"class-methods-use-this": 0,
"quotes": [1, "single"],
"max-len": ["warn", { "code": 100, "ignoreComments": true }],
"no-unneeded-ternary": 0,
"no-restricted-syntax": 1,
"radix": 0,
"prefer-destructuring": 1,
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"import/no-extraneous-dependencies": 1,
"react/jsx-filename-extension": 0,
"react/prop-types": 0,
"react/jsx-closing-tag-location": 0,
"react/prefer-stateless-function": 0,
"jsx-a11y/aria-proptypes": 0,
"no-useless-escape": 0,
"lines-between-class-members": 0,
"spaced-comment": 0,
"import/newline-after-import": 0,
"react/no-multi-comp": 0,
"prefer-rest-params": 1
}
}