File tree Expand file tree Collapse file tree 3 files changed +22
-346
lines changed Expand file tree Collapse file tree 3 files changed +22
-346
lines changed Original file line number Diff line number Diff line change 21
21
"dotenv" : " 6.2.0" ,
22
22
"dotenv-expand" : " 4.2.0" ,
23
23
"echarts" : " ^4.3.0" ,
24
- "eslint" : " ^6.1.0" ,
25
24
"eslint-config-react-app" : " ^5.0.0" ,
26
25
"eslint-loader" : " 2.2.1" ,
27
26
"eslint-plugin-flowtype" : " 3.13.0" ,
32
31
"file-loader" : " 3.0.1" ,
33
32
"fs-extra" : " 7.0.1" ,
34
33
"html-webpack-plugin" : " 4.0.0-beta.5" ,
35
- "husky" : " ^3.0.9" ,
36
34
"identity-obj-proxy" : " 3.0.0" ,
37
35
"is-wsl" : " ^1.1.0" ,
38
36
"jest" : " 24.8.0" ,
77
75
"build" : " node scripts/build.js" ,
78
76
"test" : " node scripts/test.js"
79
77
},
78
+ "husky" : {
79
+ "hooks" : {
80
+ "pre-commit" : " npm run lint"
81
+ }
82
+ },
80
83
"eslintConfig" : {
81
84
"extends" : " react-app"
82
85
},
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ function Header() {
79
79
< Link to = "/form" > form表单</ Link >
80
80
</ li >
81
81
< li >
82
- < Link to = "/testPromise" > 封装req </ Link >
82
+ < Link to = "/testPromise" > 封装req的方法 </ Link >
83
83
</ li >
84
84
</ ul >
85
85
) ;
You can’t perform that action at this time.
0 commit comments