-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
50 lines (45 loc) · 1.04 KB
/
.eslintrc
File metadata and controls
50 lines (45 loc) · 1.04 KB
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
{
"env": {
"browser": true,
"node": true,
"es2020": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"prettier"
],
"settings": {
"react": {
"createClass": "createReactClass",
"pragma": "React", // Pragma to use, default to "React"
"version": "detect"
}
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["react", "prettier"],
"rules": {
"no-case-declarations": 0,
"react/prop-types": 0,
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"no-unused-vars": "error",
"jsx-a11y/anchor-is-valid": 0,
"react/no-unescaped-entities": 0,
"react/jsx-no-target-blank": 0,
"no-mixed-spaces-and-tabs": 0,
"no-cond-assign": 0,
"react/jsx-key": 0,
"react/display-name": 0,
"no-lone-blocks": 1,
"jsx-a11y/accessible-emoji": 0,
"react/jsx-first-prop-new-line": [1, "multiline"],
"prettier/prettier": "error"
}
}