-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
60 lines (60 loc) · 1.63 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
58
59
60
{
"env": {
"browser": true,
"es6": true,
"node": true,
"jest/globals": true
},
"parser": "babel-eslint",
"extends": ["airbnb", "plugin:prettier/recommended"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["prettier", "jest"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"Action": "readonly",
"CONFIG_ENV": "readonly"
},
"rules": {
"class-methods-use-this": 0,
"import/no-named-as-default": 0,
"import/prefer-default-export": 0,
"react/require-default-props": 0,
"import/no-unresolved": 0,
"function-paren-newline": 0,
"no-restricted-syntax": 0,
"implicit-arrow-linebreak": 0,
"comma-dangle": 0,
"react/sort-comp": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"indent": 0,
"react/jsx-indent": 0,
"react/jsx-indent-props": 0,
"no-trailing-spaces": 0,
"no-plusplus": 0,
"react/jsx-closing-bracket-location": 0,
"react/forbid-prop-types": 0,
"no-shadow": [0, { "builtinGlobals": true, "hoist": "never", "allow": [] }],
"no-console": ["error", { "allow": ["warn", "error", "info"] }],
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"react/jsx-curly-newline": 0,
"prettier/prettier": [
2,
{
"endOfLine": "auto"
}
],
"jest/no-disabled-tests": 1,
"jest/no-focused-tests": 2,
"jest/no-identical-title": 2,
"jest/prefer-to-have-length": 1,
"jest/valid-expect": 2
}
}