Skip to content

Commit

Permalink
markdownlint ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
ArhanChaudhary committed Sep 11, 2024
1 parent c42fb54 commit 8f25dcb
Show file tree
Hide file tree
Showing 7 changed files with 229 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx astro build && rm -rf dist
npx astro build && rm -rf dist && npx markdownlint-cli2 "**/*.{md, mdx}" "#node_modules" --config config.markdownlint.json
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"recommendations": [
"astro-build.astro-vscode",
"streetsidesoftware.code-spell-checker",
"davidanson.vscode-markdownlint"
],
"unwantedRecommendations": []
}
7 changes: 0 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,4 @@
}
],
"cSpell.words": ["astro", "astrojs", "NAND", "Arhan"],
"markdownlint.config": {
"MD009": false,
"MD033": false,
"MD034": false,
"MD037": false,
"MD041": false
}
}
9 changes: 9 additions & 0 deletions config.markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"MD009": false,
"MD013": false,
"MD033": false,
"MD034": false,
"MD037": false,
"MD041": false,
"MD047": false
}
221 changes: 216 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"typescript": "^5.4.3"
},
"devDependencies": {
"husky": "^9.0.11"
"husky": "^9.0.11",
"markdownlint-cli2": "^0.14.0"
}
}
2 changes: 1 addition & 1 deletion src/content/blog/Implanting a VSCode Rickroll.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ for (let name of names) {
@static - 176k
@classdesc - 65.8k
@hideconstructor - 8.7k
@linkplain - 1.6k
@linkplain - 1.6k

0 comments on commit 8f25dcb

Please sign in to comment.