Commit 2c0e54b 1 parent 1ae859d commit 2c0e54b Copy full SHA for 2c0e54b
File tree 2 files changed +40
-3
lines changed
2 files changed +40
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "parser" : "babel-eslint" ,
3
+ "env" : {
4
+ "browser" : true ,
5
+ "es2021" : true ,
6
+ "node" : true ,
7
+ "jest/globals" : true
8
+ } ,
9
+ "extends" : [ "react-app" , "plugin:jest/recommended" ] ,
10
+ "parserOptions" : {
11
+ "ecmaVersion" : 12 ,
12
+ "sourceType" : "module"
13
+ } ,
14
+ "plugins" : [ "jest" ] ,
15
+ "rules" : {
16
+ "no-unused-vars" : "warn" ,
17
+ "no-var" : "warn" ,
18
+ "no-console" : "off" ,
19
+ "func-names" : "off" ,
20
+ "comma-dangle" : [ "warn" , "only-multiline" ] ,
21
+ "quotes" : [
22
+ "error" ,
23
+ "single" ,
24
+ { "allowTemplateLiterals" : true , "avoidEscape" : true }
25
+ ] ,
26
+ "camelcase" : "error"
27
+ }
28
+ }
Original file line number Diff line number Diff line change 3
3
"version" : " 0.1.1" ,
4
4
"private" : true ,
5
5
"dependencies" : {
6
- "react" : " ^16.13.1" ,
7
- "react-dom" : " ^16.13.1" ,
8
- "react-scripts" : " 3.4.1"
6
+ "react" : " ^17.0.1" ,
7
+ "react-dom" : " ^17.0.1" ,
8
+ "react-scripts" : " 4.0.1"
9
+ },
10
+ "devDependencies" : {
11
+ "gh-pages" : " ^3.1.0" ,
12
+ "@testing-library/jest-dom" : " ^5.11.6" ,
13
+ "@testing-library/react" : " ^11.2.2" ,
14
+ "@testing-library/user-event" : " ^12.5.0"
9
15
},
10
16
"scripts" : {
11
17
"start" : " PORT=3001 react-scripts start" ,
12
18
"build" : " react-scripts build" ,
13
19
"test" : " react-scripts test --env=jsdom" ,
14
20
"eject" : " react-scripts eject"
15
21
},
22
+ "eslintConfig" : {
23
+ "extends" : " react-app"
24
+ },
16
25
"browserslist" : {
17
26
"production" : [
18
27
" >0.2%" ,
You can’t perform that action at this time.
0 commit comments