Skip to content

Commit

Permalink
refactor: new api for husky-config
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed May 9, 2019
1 parent 260b8a1 commit 0a91cbf
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 1,001 deletions.
2 changes: 1 addition & 1 deletion .huskyrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/

module.exports = require('@fisker/husky-config').prepend({
'pre-commit': ['yarn build', 'git add *.md'],
'pre-commit': ['yarn build:js', 'yarn build:docs', 'git add *.md'],
})
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
},
"scripts": {
"build": "lerna run build",
"build:docs": "lerna run build:docs",
"build:js": "lerna run build:js",
"clean": "lerna run clean",
"dist": "lerna publish",
"lint": "run-p lint:*",
Expand Down
319 changes: 0 additions & 319 deletions packages/eslint-config-legacy/docs/compare-with-airbnb.md

This file was deleted.

497 changes: 0 additions & 497 deletions packages/eslint-config-legacy/docs/compare-with-fisker.md

This file was deleted.

83 changes: 0 additions & 83 deletions packages/eslint-config-vue/docs/compare-with-vue-prettier.md

This file was deleted.

Loading

0 comments on commit 0a91cbf

Please sign in to comment.