-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.json
More file actions
60 lines (57 loc) · 1.29 KB
/
.eslintrc.json
File metadata and controls
60 lines (57 loc) · 1.29 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
51
52
53
54
55
56
57
58
59
60
{
"plugins": [
"prettier"
],
"extends": [
"eslint:recommended",
"next/core-web-vitals",
"prettier"
],
"rules": {
// JS Settings
"quotes": [
2,
"double",
{
"avoidEscape": true
}
],
"no-console": 2,
"no-debugger": 2,
"no-unused-vars": 2,
"no-mixed-spaces-and-tabs": 2,
"no-undef": 2,
"eqeqeq": 2,
"no-alert": 2,
"no-eq-null": 2,
"no-eval": 2,
"no-floating-decimal": 2,
"no-new-wrappers": 2,
"prefer-promise-reject-errors": 2,
"prefer-arrow-callback": 2,
"valid-jsdoc": 2,
"max-lines": 2,
// Prettier Settings
"prettier/prettier": 2,
// React Settings
"react/no-unescaped-entities": 0,
"react/prop-types": 2,
"react/default-props-match-prop-types": 2,
"react/prefer-stateless-function": 2,
"react/sort-prop-types": 2,
"react/style-prop-object": 2,
"react/no-unused-prop-types": 2,
"react/no-unused-state": 2,
"react/no-typos": 2,
"react/no-this-in-sfc": 2,
"react/no-danger": 2,
"react/no-deprecated": 2,
// ReactJS Settings
"react/jsx-boolean-value": 2,
"react/jsx-fragments": 2,
"react/jsx-sort-props": 2,
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-target-blank": 2,
"react/jsx-pascal-case": 2
}
}