Skip to content

Commit 4f04bdc

Browse files
committed
ci: lint all Markdown and MDX files except the changelog
1 parent ead5c47 commit 4f04bdc

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.rules.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ uv run poe e2e-tests
5252
- Unused imports are allowed in `__init__.py` files (re-exports)
5353
- **Pre-commit hooks**: lint check + type check run automatically on commit
5454
- **Commits**: [Conventional Commits](https://www.conventionalcommits.org/) format. Choose the type based on *what* changed, not just *why*:
55-
- `feat:` / `fix:` / `perf:` / `refactor:` / `style:`**source code only**; these trigger a release and appear in the changelog
56-
- `test:` — test additions or changes (no release triggered)
57-
- `docs:` — documentation changes; also triggers a doc release on master
58-
- `ci:` — CI/workflow changes
59-
- `chore:` — dependency bumps, tooling, and other housekeeping
60-
- `build:` — build system changes
55+
- `feat:` / `fix:` / `perf:` / `refactor:` / `style:`**source code only**; these trigger a release and appear in the changelog
56+
- `test:` — test additions or changes (no release triggered)
57+
- `docs:` — documentation changes; also triggers a doc release on master
58+
- `ci:` — CI/workflow changes
59+
- `chore:` — dependency bumps, tooling, and other housekeeping
60+
- `build:` — build system changes
6161

6262
## Architecture
6363

website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"write-translations": "docusaurus write-translations",
1515
"lint": "pnpm lint:md && pnpm lint:code",
1616
"lint:fix": "pnpm lint:md:fix && pnpm lint:code:fix",
17-
"lint:md": "markdownlint --config ../.markdownlint.yaml ../README.md ../CONTRIBUTING.md '../docs/**/*.{md,mdx}' --ignore ../docs/changelog.md",
18-
"lint:md:fix": "markdownlint --fix --config ../.markdownlint.yaml ../README.md ../CONTRIBUTING.md '../docs/**/*.{md,mdx}' --ignore ../docs/changelog.md",
17+
"lint:md": "cd .. && markdownlint --config .markdownlint.yaml '**/*.{md,mdx}' --ignore-path .gitignore --ignore website/versioned_docs --ignore website/versioned_sidebars --ignore CHANGELOG.md --ignore docs/changelog.md",
18+
"lint:md:fix": "cd .. && markdownlint --fix --config .markdownlint.yaml '**/*.{md,mdx}' --ignore-path .gitignore --ignore website/versioned_docs --ignore website/versioned_sidebars --ignore CHANGELOG.md --ignore docs/changelog.md",
1919
"lint:code": "oxlint",
2020
"lint:code:fix": "oxlint --fix",
2121
"format": "oxfmt",

0 commit comments

Comments
 (0)