From fb588fcab980db57c443812801838d1f632c8fdc Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 21 May 2025 22:33:17 -0400 Subject: Permit (and expect) trailing commas in most contexts. This is purely a stylistic preference. However, it has helped keep diffs smaller (since diffs at the end of an object or array don't require changing the last line of the array), and it's something a lot of tools and IDEs now default to expecting to. --- .prettierrc | 1 - 1 file changed, 1 deletion(-) (limited to '.prettierrc') 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" } }] -- cgit v1.2.3