-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
51 lines (51 loc) · 1.12 KB
/
.eslintrc.json
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
{
"env": {
"node": true,
"browser": true,
"es2021": true,
"jest": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react", "prettier"],
"rules": {
"indent": [2, 2, { "SwitchCase": 1 }],
"linebreak-style": [2, "unix"],
"quotes": [
2,
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"semi": [2, "never"],
"block-scoped-var": 2,
"curly": 2,
"eqeqeq": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-duplicate-imports": 2,
"no-eval": 2,
"no-extra-bind": 2,
"no-invalid-this": 2,
"no-multi-spaces": 2,
"no-return-await": 2,
"no-sequences": 2,
"no-shadow": 2,
"no-trailing-spaces": 2,
"no-unused-expressions": 2,
"no-use-before-define": 2,
"prefer-const": 2,
"spaced-comment": 2,
"use-isnan": 2,
"yoda": 2,
"comma-dangle": [2, "only-multiline"],
"react/react-in-jsx-scope": "off",
"no-unused-vars": 2
}
}