ESLint: Adjust operator-linebreak for ternary operator

This commit is contained in:
Andrei Andreev 2019-03-31 00:19:26 +03:00
parent fce891c216
commit b0d750df59

View File

@ -94,7 +94,7 @@
"error", "error",
"always", "always",
{ {
"ignoreConsecutiveComments": true "ignoreConsecutiveComments": true
} }
], ],
"comma-spacing": "error", "comma-spacing": "error",
@ -153,7 +153,13 @@
"operator-assignment": "error", "operator-assignment": "error",
"operator-linebreak": [ "operator-linebreak": [
"error", "error",
"after" "after",
{
"overrides": {
"?": "before",
":": "before"
}
}
], ],
"quotes": [ "quotes": [
"error", "error",