summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorojacobson <ojacobson@noreply.codeberg.org>2025-06-10 00:43:57 +0200
committerojacobson <ojacobson@noreply.codeberg.org>2025-06-10 00:43:57 +0200
commit71919b461f25bed1bb4708b0494d603de373ae11 (patch)
treec6fa8e3f4dc6200dbda83fe5257b5631f59bed22 /package.json
parent2273b6dce6cb650c0a72b71491421f198518bfb7 (diff)
parentbf1ef354817dba47cc955e9654dc204f0dc07d27 (diff)
Rework project formatting tools.
* Changes JS formatting policy to expect trailing commas in most of the places they're allowed. * Moves format checking out of `npm` and into tool scripts. * _Documents_ formatting tools, as well as a shot at a policy for format-only changes designed to alleviate low-value review. 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/project-formatting into main.
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/package.json b/package.json
index 4501576..3a75fcb 100644
--- a/package.json
+++ b/package.json
@@ -7,8 +7,7 @@
"node": ">=22.0.0 <23.0.0"
},
"scripts": {
- "lint": "prettier --check ui && eslint ui",
- "format": "prettier --write ui"
+ "lint": "eslint ui"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.8",