Skip to content

Commit

Permalink
Remove enforcement of operator-linebreak
Browse files Browse the repository at this point in the history
Developers should be free to choose whatever linebreak style they wish.

<https://eslint.org/docs/latest/rules/operator-linebreak>
  • Loading branch information
victorlin committed Feb 14, 2025
1 parent 8692b38 commit f5c16e6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ rules:
# Code style rules
arrow-parens: ["error", "always"]
no-unneeded-ternary: ["error", { "defaultAssignment": true }]
operator-linebreak: ["error", "after", { "overrides": { "?": "ignore", ":": "ignore" } }]
quote-props: ["error", "as-needed"]

parserOptions:
Expand Down

0 comments on commit f5c16e6

Please sign in to comment.