Files
FreshRSS/package.json
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

70 lines
1.6 KiB
JSON

{
"name": "freshrss",
"type": "module",
"description": "A free, self-hostable aggregator",
"homepage": "https://freshrss.org/",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/FreshRSS/FreshRSS/issues"
},
"keywords": [
"news",
"aggregator",
"RSS",
"Atom",
"WebSub"
],
"repository": {
"type": "git",
"url": "https://github.com/FreshRSS/FreshRSS.git"
},
"license": "AGPL-3.0",
"engines": {
"node": ">=20"
},
"scripts": {
"eslint": "eslint .",
"eslint_fix": "eslint --fix .",
"markdownlint": "markdownlint-cli2",
"markdownlint_fix": "markdownlint-cli2 --fix",
"rtlcss": "rtlcss -d p/themes/ && find p/themes/ -type f -name '*.rtl.rtl.css' -delete",
"stylelint": "stylelint '**/*.css'",
"stylelint_fix": "stylelint --fix '**/*.css'",
"test": "npm run eslint && npm run stylelint && npm run markdownlint",
"fix": "npm run eslint_fix && npm run stylelint_fix && npm run rtlcss && npm run markdownlint_fix"
},
"devDependencies": {
"eslint": "^9.39.4",
"@eslint/js": "^9.39.4",
"globals": "^17.4.0",
"markdownlint-cli2": "^0.23.0",
"neostandard": "^0.13.0",
"rtlcss": "^4.3.0",
"stylelint": "^17.14.0",
"stylelint-config-recommended": "^18.0.0",
"stylelint-order": "^8.1.1",
"@stylistic/stylelint-plugin": "^5.2.1"
},
"rtlcssConfig": {
"options": {
"processUrls": {
"atrule": true,
"decl": false
},
"stringMap": [
{
"name": "import-rtl",
"priority": 10,
"exclusive": true,
"search": ".css",
"replace": ".rtl.css",
"options": {
"scope": "url",
"ignoreCase": false
}
}
]
}
}
}