Files
livegraphs-django/package.json
Kaj Kowalski b70535a2a8 lint: Enable oxc for JS/TS and add strict lint
Configure oxc LSP initialization options: run set to "onType", typeAware
enabled, unusedDisableDirectives set to "allow", and
configPath/tsConfigPath left null.
2025-11-05 15:17:57 +01:00

38 lines
1.0 KiB
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\"",
"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"
},
"markdownlint-cli2": {
"config": {
"MD013": false,
"MD033": false
},
"ignores": [
".git",
".trunk",
".venv",
"node_modules"
]
}
}