summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorojacobson <ojacobson@noreply.codeberg.org>2025-06-11 18:27:15 +0200
committerojacobson <ojacobson@noreply.codeberg.org>2025-06-11 18:27:15 +0200
commita6ae7ee0170e2235ffc9c4eacddae2fb6878ad07 (patch)
treeb183dc5557b9e6c6d46385581f74d30001d06065 /package.json
parent71919b461f25bed1bb4708b0494d603de373ae11 (diff)
parentc0f3495ea54d12b2bad9b937ea9334594d0aa248 (diff)
Consolidate project linting into tool scripts.
The new `tools/check-lint` script checks lints across _all_ lintable files - JS (through `eslint`), and Rust (through `clippy` and `cargo check`). It also checks `eslint` against the whole project, not just against what's in the `ui` subdir, which means it now catches lintable issues in various JS config files. This was originally part of [another proposal][pr-6]. I've broken it out to make the intent clearer, and to make the proposal easier to get a handle on in isolation from other, related changes. Thanks to @wlonk for their input on this! [pr-6]: https://codeberg.org/ojacobson/pilcrow/pulls/6 Merges prop/lint-checks into main.
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 0 insertions, 3 deletions
diff --git a/package.json b/package.json
index 3a75fcb..6a1446e 100644
--- a/package.json
+++ b/package.json
@@ -6,9 +6,6 @@
"npm": ">=10.0.0 <11.0.0",
"node": ">=22.0.0 <23.0.0"
},
- "scripts": {
- "lint": "eslint ui"
- },
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.8",
"@sveltejs/kit": "^2.17.2",