Skip to content

Commit

Permalink
chore(docs): lint docs in pre-push hook
Browse files Browse the repository at this point in the history
  • Loading branch information
novusnota committed Oct 21, 2024
1 parent 1510fbe commit 20af11c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarn lint:all
yarn lint:all && cd docs && yarn lint:all
5 changes: 3 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
"clean": "rm -rf dist/ out/ .astro/",
"deps": "yarn install --frozen-lockfile",
"dev": "astro dev",
"build": "yarn clean && yarn spell && astro check && astro build",
"build": "yarn clean && yarn lint:all && astro check && astro build",
"preview": "astro preview",
"astro": "astro",
"spell": "cspell --no-progress src/content/docs"
"spell": "cspell --no-progress src/content/docs",
"lint:all": "yarn spell"
},
"dependencies": {
"@astrojs/check": "^0.9.3",
Expand Down

0 comments on commit 20af11c

Please sign in to comment.