Skip to content

Commit

Permalink
chore: fix lint ignore for husky pre-push hook
Browse files Browse the repository at this point in the history
  • Loading branch information
neoddish committed Apr 26, 2022
1 parent cf808b7 commit a8c07d0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ temp/
typings/
docs/
webpack.config.js

# site
public/
**/ava-site/examples/
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ lib
**/assets/**
LICENSE

node_modules/
public/

# don't prettier constance js
packages/data-wizard/src/random/cn-address-dict.ts

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,13 @@
"setup:site": "cd ./sites/ava-site && yarn",
"start:site": "cd ./sites/ava-site && npm run start",
"deploy:site": "cd ./sites/ava-site && npm run deploy",
"setup:demo": "cd demo && npm install",
"start:demo": "cd demo && npm start",
"prepare": "husky install",
"ci": "run-s format lint-staged build",
"release": "lerna exec --no-private --concurrency 1 -- npx --no-install semantic-release",
"release:manual": "npm run ci && lerna publish",
"one-stop-setup": "npm install --package-lock=false && run-s prepare boot build setup:site"
"one-stop-setup": "npm install --package-lock=false && run-s prepare boot build setup:site setup:demo"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit a8c07d0

Please sign in to comment.