-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc
75 lines (75 loc) · 2.02 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"eslint:recommended",
"airbnb",
"airbnb/hooks",
"prettier",
"plugin:prettier/recommended",
"plugin:security/recommended",
"plugin:react-redux/recommended",
"plugin:promise/recommended",
"plugin:jest/recommended",
"jest-enzyme"
],
"plugins": ["react", "react-hooks", "import", "jsx-a11y"],
"rules": {
"prettier/prettier": 0,
"semi": 0,
"strict": 1,
"no-var": 1,
"prefer-template": 2,
"no-duplicate-imports": 2,
"import/no-extraneous-dependencies": [0, { "devDependencies": false }],
"semi-spacing": [1, { "before": false, "after": true }],
"no-multi-assign": 2,
"brace-style": 2,
"import/no-dynamic-require": 0,
"global-require": 0,
"import/order": 0,
"comma-dangle": 0,
"react/jsx-boolean-value": 1,
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx"] }],
"react/require-optimization": 1,
"react/prefer-stateless-function": 1,
"react/jsx-max-depth": 0,
"react/jsx-closing-tag-location": 2,
"react/no-typos": 2,
"react/no-render-return-value": 0,
"security/detect-non-literal-require": 0,
"max-depth": 0,
"react/jsx-no-target-blank": 0,
"react/jsx-indent": 0,
"react/jsx-one-expression-per-line": 0,
"security/detect-non-literal-fs-filename": 0,
"react/jsx-indent-props": 0,
"react/jsx-closing-bracket-location": 0,
"no-restricted-syntax": 0,
"guard-for-in": 0,
"react/require-default-props": 0,
"react/forbid-prop-types": 0,
"react-redux/prefer-separate-component-file": 0,
"react/jsx-curly-newline": 0,
"react-hooks/exhaustive-deps": 0,
"no-use-before-define": 0,
"import/prefer-default-export": 0,
"promise/always-return": 0
},
"env": {
"browser": true,
"node": true,
"jest/globals": true
},
"settings": {
"jest": {
"version": 26
}
}
}