File tree Expand file tree Collapse file tree 4 files changed +742
-17
lines changed Expand file tree Collapse file tree 4 files changed +742
-17
lines changed Original file line number Diff line number Diff line change 1+ module . exports = {
2+ extends : [ '@boringcodes/eslint-config' ] ,
3+ } ;
Original file line number Diff line number Diff line change 11{
22 "hooks": {
3- "pre-commit": "yarn format:stage",
3+ "pre-commit": "yarn format:stage && yarn lint ",
44 }
55}
Original file line number Diff line number Diff line change 1616 "format" : " prettier --write ." ,
1717 "format:check" : " prettier --check ." ,
1818 "format:stage" : " pretty-quick --staged" ,
19+ "lint" : " eslint --ignore-path .gitignore --ignore-pattern templates ." ,
1920 "release" : " standard-version --no-verify" ,
2021 "release:major" : " yarn release --release-as major" ,
2122 "release:minor" : " yarn release --release-as minor" ,
3334 "yosay" : " ^2.0.2"
3435 },
3536 "devDependencies" : {
37+ "@boringcodes/eslint-config" : " ^1.0.0" ,
3638 "@boringcodes/prettier-config" : " ^1.0.0" ,
39+ "eslint-config-prettier" : " ^6.10.1" ,
40+ "eslint-config-standard" : " ^14.1.1" ,
41+ "eslint-plugin-import" : " ^2.20.1" ,
42+ "eslint-plugin-node" : " ^11.0.0" ,
43+ "eslint-plugin-promise" : " ^4.2.1" ,
44+ "eslint-plugin-standard" : " ^4.0.1" ,
45+ "eslint" : " ^6.8.0" ,
3746 "husky" : " ^4.2.3" ,
3847 "prettier" : " ^2.0.2" ,
3948 "pretty-quick" : " ^2.0.1" ,
You can’t perform that action at this time.
0 commit comments