This repository has been archived by the owner on Apr 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc
54 lines (54 loc) · 1.64 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 10
},
"plugins": ["babel", "react-hooks"],
"extends": ["eslint:recommended"],
"env": { "browser": true, "node": true, "es6": true },
"settings": {
"polyfills": ["fetch"]
},
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"quotes": [2, "backtick", "avoid-escape"],
"semi": "error",
"react/button-has-type": [0],
"react/forbid-prop-types": [0],
"react/no-unused-prop-types": [0],
"react/jsx-filename-extension": [0],
"react/jsx-one-expression-per-line": [0],
"no-underscore-dangle": [0],
"max-len": [0],
"no-return-assign": [0],
"no-param-reassign": [0],
"global-require": [0],
"no-useless-escape": [0],
"no-unused-expressions": [0],
"consistent-return": [0],
"class-methods-use-this": [0],
"react/prefer-stateless-function": [0],
"no-nested-ternary": [0],
"no-undef": [1],
"react/no-array-index-key": [0],
"react/prop-types": [0],
"babel/new-cap": [0],
"babel/object-curly-spacing": [0],
"babel/no-invalid-this": [1],
"no-console": [0],
"import/no-extraneous-dependencies": [1],
"import/prefer-default-export": [0],
"react/no-unused-state": [1],
"no-unexpected-multiline": [0],
"function-paren-newline": [0],
"react/no-string-refs": [0],
"react/destructuring-assignment": [1],
"react/no-access-state-in-setstate": [0],
"jsx-a11y/click-events-have-key-events": [1],
"jsx-a11y/no-static-element-interactions": [1],
"jsx-a11y/label-has-for": [1],
"jsx-a11y/alt-text": [1],
"arrow-parens": [0]
}
}