mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-02-13 15:15:43 +01:00
- Wrap config in 'config' key for markdownlint-cli2 - Use MD013 rule name instead of 'line-length' alias - Disable MD013 line-length checks - Add allowed languages: sh, python, csv, tree - Fix broken link reference in TODO.md - All markdown linting now passes (37 errors -> 0)
26 lines
917 B
JSON
26 lines
917 B
JSON
{
|
|
"scripts": {
|
|
"format": "prettier --write .; bun format:py",
|
|
"format:check": "prettier --check .; bun format:py -- --check",
|
|
"format:py": "uvx ruff format",
|
|
"lint:js": "oxlint",
|
|
"lint:js:fix": "bun lint:js -- --fix",
|
|
"lint:js:strict": "oxlint --import-plugin -D correctness -W suspicious",
|
|
"lint:md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#.{node_modules,trunk,grit,venv}\"",
|
|
"lint:md:fix": "bun lint:md -- --fix",
|
|
"lint:py": "uvx ruff check",
|
|
"lint:py:fix": "uvx ruff check --fix",
|
|
"typecheck:js": "oxlint --type-aware",
|
|
"typecheck:js:fix": "bun typecheck:js -- --fix",
|
|
"typecheck:py": "uvx ty check"
|
|
},
|
|
"devDependencies": {
|
|
"markdownlint-cli2": "^0.18.1",
|
|
"oxlint": "^1.25.0",
|
|
"oxlint-tsgolint": "^0.5.0",
|
|
"prettier": "^3.6.2",
|
|
"prettier-plugin-jinja-template": "^2.1.0",
|
|
"prettier-plugin-packagejson": "^2.5.19"
|
|
}
|
|
}
|