File tree Expand file tree Collapse file tree 4 files changed +647
-739
lines changed
Expand file tree Collapse file tree 4 files changed +647
-739
lines changed Original file line number Diff line number Diff line change 1+ _
Original file line number Diff line number Diff line change 1+ yarn lint-staged
Original file line number Diff line number Diff line change 1111 " salesforce"
1212 ],
1313 "scripts" : {
14+ "prepare" : " husky install" ,
1415 "format" : " prettier --write \" **/*.{js,md}\" " ,
1516 "format:check" : " prettier --check \" **/*.{js,md}\" " ,
1617 "lint" : " eslint" ,
1718 "test" : " mocha"
1819 },
1920 "dependencies" : {
20- "@babel/core" : " ~7.13.14 " ,
21+ "@babel/core" : " ~7.14.0 " ,
2122 "@babel/eslint-parser" : " ~7.13.14" ,
2223 "eslint-restricted-globals" : " ~0.2.0"
2324 },
2425 "devDependencies" : {
2526 "@lwc/eslint-plugin-lwc" : " ^1.0.0" ,
2627 "@salesforce/eslint-plugin-lightning" : " ^0.1.0" ,
27- "eslint" : " ^7.22 .0" ,
28- "eslint-plugin-import" : " ^2.22.1 " ,
28+ "eslint" : " ^7.26 .0" ,
29+ "eslint-plugin-import" : " ^2.23.2 " ,
2930 "eslint-plugin-jest" : " ^24.3.6" ,
30- "husky" : " ^4.3.8 " ,
31- "lint-staged" : " ^10.5.4 " ,
32- "mocha" : " ^8.3.2 " ,
33- "prettier" : " ^2.2.1 "
31+ "husky" : " ^6.0.0 " ,
32+ "lint-staged" : " ^11.0.0 " ,
33+ "mocha" : " ^8.4.0 " ,
34+ "prettier" : " ^2.3.0 "
3435 },
3536 "peerDependencies" : {
3637 "@lwc/eslint-plugin-lwc" : " ^1.0.0" ,
5455 " index.js" ,
5556 " recommended.js"
5657 ],
57- "husky" : {
58- "hooks" : {
59- "pre-commit" : " lint-staged"
60- }
61- },
6258 "lint-staged" : {
6359 "*.js" : [
6460 " eslint"
You can’t perform that action at this time.
0 commit comments