summaryrefslogtreecommitdiff
path: root/.prettierrc
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 /.prettierrc
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 '.prettierrc')
-rw-r--r--.prettierrc1
1 files changed, 0 insertions, 1 deletions
diff --git a/.prettierrc b/.prettierrc
index 3d01ccd..190fedf 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,7 +1,6 @@
{
"useTabs": false,
"singleQuote": true,
- "trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]