mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-28 05:58:40 -04:00
* Migrate markdownlint-cli to markdownlint-cli2 Replace markdownlint-cli with markdownlint-cli2 and consolidate the three separate configuration points (.markdownlint.json rules, .markdownlintignore excludes, and the '**/*.md' glob in the npm scripts) into a single .markdownlint-cli2.jsonc holding config + globs + ignores. The npm script names (markdownlint / markdownlint_fix) are unchanged, so the CI step and the test/fix compound scripts need no change. markdownlint-cli2 v0.23.0 bundles the same markdownlint v0.41.0, so linting behaviour is identical (112 files, 0 errors). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * Add JSONC to .editorconfig * Reduce obvious comments --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
438 B
438 B
applyTo, description
| applyTo | description |
|---|---|
| **/*.md | Editing Markdown |
Markdown files
- Obey formatting rules defined in
.markdownlint-cli2.jsonc - For fenced code blocks:
- Use language identifiers as much as possible, e.g.,
php,js,css - Favour
shoverbash
- Use language identifiers as much as possible, e.g.,
- Automatic fixes can be done with:
npm run markdownlint_fix - Validation can be done with:
npm run markdownlint