From 10ef8475ad0a12ed0f7cce72b53dbbdc09f2412e Mon Sep 17 00:00:00 2001 From: Scott Anderson <662325+scottanderson@users.noreply.github.com> Date: Sun, 24 Aug 2025 13:55:03 -0400 Subject: [PATCH] Enable the `@stylistic/object-curly-spacing` eslint rule --- eslint.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index 166d7e035..2f0a1f874 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -56,6 +56,7 @@ export default [ // Enable rules "@stylistic/quotes": ["error", "double", { avoidEscape: true }], "@stylistic/indent": ["error", 2], + "@stylistic/object-curly-spacing": ["error", "always", { objectsInObjects: true }], "@stylistic/semi": "error", "@stylistic/space-infix-ops": "error", "@stylistic/type-annotation-spacing": [ @@ -114,7 +115,7 @@ export default [ "no-multiple-empty-lines": ["error", { max: 1, maxEOF: 0 }], "no-trailing-spaces": "error", "object-curly-newline": ["error", { multiline: true, consistent: true }], - "object-curly-spacing": ["error", "always"], + "object-curly-spacing": "off", // @stylistic/object-curly-spacing "object-property-newline": ["error", { allowAllPropertiesOnSameLine: true }], "object-shorthand": ["error", "always"], "no-undef": "error",