Files
FreshRSS-Extensions/.markdownlint-cli2.jsonc
Jam Balaya 84c4443524 Migrate markdownlint-cli to markdownlint-cli2 (single config file) (#487)
* Migrate markdownlint-cli to markdownlint-cli2 (single config file)

Consolidate the Markdown lint configuration (.markdownlint.json rules,
.markdownlintignore excludes, and the '**/*.md' npm-script glob) into a
single .markdownlint-cli2.jsonc (config + globs + ignores), and remove
the two old files. Script names are unchanged, so the compound test/fix
scripts and the CI step (npm run --silent markdownlint) need no change.

For consistency with FreshRSS/FreshRSS#8987.

* Apply review feedback from FreshRSS/FreshRSS#8987

- Reduce obvious comments in .markdownlint-cli2.jsonc (keep only the
  non-obvious note on globs)
- Add JSONC to .editorconfig ([*.json] -> [*.{json,jsonc}])
2026-07-05 16:35:51 +02:00

34 lines
654 B
JSON

{
"config": {
"default": true,
"blanks-around-fences": false,
"blanks-around-lists": false,
"first-line-heading": false,
"line-length": false,
"no-blanks-blockquote": false,
"no-hard-tabs": false,
"no-inline-html": {
"allowed_elements": ["br", "img", "kbd", "details", "summary"]
},
"no-multiple-blanks": {
"maximum": 2
},
"no-trailing-spaces": true,
"ul-indent": false,
"ul-style": {
"style": "consistent"
}
},
// Markdown files to lint (previously the '**/*.md' CLI argument)
"globs": [
"**/*.md"
],
"ignores": [
"**/node_modules/**",
"symbolic/**",
"third-party/**",
"tmp/**",
"vendor/**"
]
}