Skip to content

Commit 87b7dbf

Browse files
committed
Add an exception so a linebreak should happen before the pipeline operator
1 parent 4ef2c71 commit 87b7dbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
"no-with": "error",
160160
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
161161
"one-var": ["error", { "initialized": "never" }],
162-
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before" } }],
162+
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before", "|>": "before" } }],
163163
"padded-blocks": ["error", { "blocks": "never", "switches": "never", "classes": "never" }],
164164
"prefer-promise-reject-errors": "error",
165165
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],

0 commit comments

Comments
 (0)