Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
save-cache: true
- run: pnpm oxfmt

- run: pnpm lint:markdown

- name: Install the workflow linters
uses: jdx/mise-action@3277a0f272901982804abc53abd93520db809be4 # v5.4.0
with:
Expand Down
3 changes: 2 additions & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"*.sh": "shellcheck",
".husky/*": "shellcheck",
".github/workflows/*.{yml,yaml}": ["jactionlint", "zizmor --offline"],
"*": "oxfmt --no-error-on-unmatched-pattern"
"*.md": ["markdownlint-cli2 --fix", "oxfmt --no-error-on-unmatched-pattern"],
"!*.md": "oxfmt --no-error-on-unmatched-pattern"
}
30 changes: 30 additions & 0 deletions .markdownlint-cli2.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"config": {
"extends": "markdownlint/style/prettier",
"list-marker-space": {
"ul_multi": 1,
"ul_single": 1,
},
"ul-indent": {
"indent": 2,
},

// Disable some built-in rules
"no-emphasis-as-heading": false,
"first-line-heading": false,
"line-length": false,
"no-emphasis-as-header": false,
"no-inline-html": false,
"single-h1": false,
"no-duplicate-heading": {
"siblings_only": true,
},
},

// Skip anything git already ignores
"gitignore": true,

// Define glob expressions to ignore, on top of what `.gitignore` covers
// `.claude` holds local Claude Code files, nothing in there is tracked
"ignores": [".claude/**"],
}
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,23 @@
"author": "Michael Kriese <michael.kriese@visualon.de>",
"repository": "https://github.com/containerbase/python-prebuild.git",
"scripts": {
"lint": "run-s oxfmt",
"lint": "run-s oxfmt lint:markdown",
"lint:markdown": "markdownlint-cli2 '**/*.md'",
"lint-fix:markdown": "markdownlint-cli2 --fix '**/*.md'",
"prepare": "husky",
"oxfmt": "oxfmt --check",
"oxfmt-fix": "oxfmt"
},
"devDependencies": {
"husky": "9.1.7",
"lint-staged": "17.6.3",
"markdownlint-cli2": "0.24.2",
"npm-run-all2": "9.1.0",
"oxfmt": "0.80.0"
},
"peerDependencies": {
"markdownlint": "*"
},
"engines": {
"node": "^22.11.0 || >=24.11.0",
"pnpm": "^12.0.0"
Expand Down
Loading
Loading