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",
"always",
{
"ignoreConsecutiveComments": true
"ignoreConsecutiveComments": true
}
],
"comma-spacing": "error",
@ -153,7 +153,13 @@
"operator-assignment": "error",
"operator-linebreak": [
"error",
"after"
"after",
{
"overrides": {
"?": "before",
":": "before"
}
}
],
"quotes": [
"error",