Files
FreshRSS/.markdownlint-cli2.jsonc
Jam Balaya ffc5a966c3 Migrate markdownlint-cli to markdownlint-cli2 (single config file) (#8987)
* 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>
2026-07-05 14:18:49 +02:00

37 lines
740 B
JSON

{
"config": {
"default": true,
"blanks-around-fences": false,
"blanks-around-lists": false,
"first-line-heading": false,
"line-length": false,
"no-hard-tabs": false,
"no-inline-html": {
"allowed_elements": ["br", "img", "kbd", "translations", "meta"]
},
"no-multiple-blanks": {
"maximum": 2
},
"no-trailing-spaces": true,
"table-column-style": false,
"ul-indent": false,
"ul-style": {
"style": "consistent"
}
},
// Markdown files to lint (previously the '**/*.md' CLI argument)
"globs": [
"**/*.md"
],
"ignores": [
"**/node_modules/**",
"extensions/**",
"lib/marienfressinaud/**",
"lib/phpgt/**",
"lib/phpmailer/**",
"lib/simplepie/**",
"p/scripts/vendor/**",
"vendor/**"
]
}