File tree 3 files changed +1702
-2220
lines changed
3 files changed +1702
-2220
lines changed Original file line number Diff line number Diff line change @@ -61,3 +61,4 @@ typings/
61
61
.next
62
62
63
63
__pycache__
64
+ .husky
Original file line number Diff line number Diff line change 24
24
"lint" : " prettier -l src/**/*.js && eslint src/**" ,
25
25
"prettify" : " prettier --write src/**/*.js" ,
26
26
"test" : " jest --verbose --coverage" ,
27
- "coverage" : " jest --collectCoverageFrom=src/**.js --coverage"
28
- },
29
- "husky" : {
30
- "hooks" : {
31
- "pre-commit" : " npm run lint && npm test"
32
- }
27
+ "prepare" : " husky install"
33
28
},
34
29
"devDependencies" : {
35
- "eslint" : " ^7.11.0" ,
36
- "eslint-config-airbnb" : " ^18.2.0" ,
37
- "eslint-config-airbnb-base" : " ^14.2.0" ,
38
- "eslint-config-prettier" : " ^6.13.0" ,
39
- "eslint-plugin-import" : " ^2.14.0" ,
40
- "eslint-plugin-jest" : " ^24.1.0" ,
41
- "eslint-plugin-prettier" : " ^3.0.0" ,
42
- "husky" : " ^4.3.0" ,
43
- "jest" : " ^26.5.3" ,
44
- "prettier" : " 2.1.2"
30
+ "eslint" : " ^8.4.1" ,
31
+ "eslint-config-airbnb" : " ^19.0.2" ,
32
+ "eslint-config-airbnb-base" : " ^15.0.0" ,
33
+ "eslint-config-prettier" : " ^8.3.0" ,
34
+ "eslint-plugin-import" : " ^2.25.3" ,
35
+ "eslint-plugin-jest" : " ^25.3.0" ,
36
+ "eslint-plugin-prettier" : " ^4.0.0" ,
37
+ "husky" : " ^7.0.4" ,
38
+ "jest" : " ^27.4.4" ,
39
+ "lint-staged" : " >=10" ,
40
+ "prettier" : " 2.5.1"
41
+ },
42
+ "lint-staged" : {
43
+ "*.js" : " eslint --cache --fix"
45
44
}
46
45
}
You can’t perform that action at this time.
0 commit comments