Skip to content

Commit

Permalink
🚨 add preCommit
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondYuan committed May 13, 2020
1 parent ca8da4e commit 4d353f0
Show file tree
Hide file tree
Showing 3 changed files with 14,093 additions and 370 deletions.
7 changes: 6 additions & 1 deletion .fatherrc.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
export default {};
export default {
preCommit: {
eslint: true,
prettier: true,
},
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"father-build": "^1.18.0",
"lerna": "^3.15.0",
"prettier": "^2.0.5",
"shelljs": "^0.8.3",
"typescript": "^3.8.3",
"father-build": "^1.18.0"
"father": "^2.29.3"
},
"dependencies": {
"@types/jest": "^24.0.15"
Expand Down
Loading

0 comments on commit 4d353f0

Please sign in to comment.