Skip to content

Commit

Permalink
more config
Browse files Browse the repository at this point in the history
  • Loading branch information
ArhanChaudhary committed Sep 11, 2024
1 parent e3304a9 commit a15e11a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
npx astro build
rm -rf dist
npx markdownlint-cli2 "**/*.{md,mdx}" "#node_modules" --config config.markdownlint.json || {
npx markdownlint-cli2 "**/*.{md,mdx}" "#node_modules" --config config.markdownlint.json --fix
npx markdownlint-cli2 "**/*.mdx" "#node_modules" --config config.markdownlint.json || {
npx markdownlint-cli2 "**/*.mdx" "#node_modules" --config config.markdownlint.json --fix
find . -name '*.mdx' -exec git add {} \+
git commit --amend --no-edit
}

0 comments on commit a15e11a

Please sign in to comment.