style: pin ternary operator formatting #18
Frontend security / security (push) Successful in 11s
Frontend verify / verify (push) Failing after 17m37s
Frontend security / security (pull_request) Successful in 10s
Frontend verify / verify (pull_request) Canceled after 9m31s
Conventional commits / commits (pull_request) Canceled after 30s

This commit is contained in:
2026-09-28 12:34:58 +03:00
parent 038f9d2efa
commit bc8e4cc4dc
+2
View File
@@ -48,7 +48,9 @@ export default defineConfig(
}],
// Keep text/interpolation together: splitting can change rendered whitespace.
"@stylistic/jsx-one-expression-per-line": ["error", { allow: "non-jsx" }],
"@stylistic/multiline-ternary": ["error", "always-multiline"],
"@stylistic/no-tabs": ["error", { allowIndentationTabs: true }],
"@stylistic/operator-linebreak": ["error", "before"],
"perfectionist/sort-classes": ["error", { groups: ["static-method", "property", "method", "unknown"], type: "natural" }],
// Preserve the repository's component, hook and config file naming conventions.
"unicorn/filename-case": ["error", { cases: { camelCase: true, kebabCase: true, pascalCase: true } }],