diff --git a/eslint.config.mjs b/eslint.config.mjs index 7a83a52..f2acd08 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -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 } }],