mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-09-20 11:01:45 +00:00
ESLint: Adjust operator-linebreak for ternary operator
This commit is contained in:
parent
fce891c216
commit
b0d750df59
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user