-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (75 loc) · 2.26 KB
/
package.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "project-react",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"bootstrap": "^5.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^6.2.1",
"react-scripts": "5.0.0",
"reactstrap": "^9.0.1",
"web-vitals": "^2.1.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"space-in-parens": [ 0, "always" ],
"template-curly-spacing": [ 2, "always" ],
"array-bracket-spacing": [ 2, "always" ],
"object-curly-spacing": [ 2, "always" ],
"computed-property-spacing": [ 2, "always" ],
"no-multiple-empty-lines": [ 2, { "max": 1, "maxEOF": 0, "maxBOF": 0 } ],
"quotes": [ 1, "single", "avoid-escape" ],
"no-use-before-define": [ 2, { "functions": false } ],
"prefer-const": 1,
"react/prefer-es6-class": 0,
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/jsx-filename-extension": 0,
"react/jsx-curly-spacing": [ 2, "always" ],
"react/jsx-indent": [ 2, 2 ],
"react/prop-types": [ 0 ],
"react/no-array-index-key": [ 1 ],
"class-methods-use-this": [ 1 ],
"no-undef": [ 1 ],
"no-case-declarations": [ 1 ],
"no-return-assign": [ 1 ],
"no-param-reassign": [ 1 ],
"no-nested-ternary": [ 0 ],
"no-shadow": "off",
"camelcase": [ 1 ],
"no-underscore-dangle" : [0, "always"],
"jsx-a11y/anchor-is-valid": [ 1, {
"components": [ "Link" ],
"specialLink": [ "to", "hrefLeft", "hrefRight" ],
"aspects": [ "noHref", "invalidHref", "preferButton" ]
}],
"jsx-a11y/media-has-caption": [ 0 ]
}
}
}