mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-15 21:03:55 -07:00
Set indent value for switch statement
Old and documented default is 0, tho the implementation changed at some point to 1 in it's default config. As such explicitly set it to 0 so it stays as is independent of stylistic version. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
d4ec54a461
commit
38939040e5
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ const configStylistic = {
|
|||
"rules": {
|
||||
"@stylistic/brace-style": ["warn", "allman", { "allowSingleLine": true }],
|
||||
"@stylistic/comma-spacing": "warn",
|
||||
"@stylistic/indent": ["warn", "tab", { "outerIIFEBody": "off" }],
|
||||
"@stylistic/indent": ["warn", "tab", { "SwitchCase": 0, "outerIIFEBody": "off" }],
|
||||
"@stylistic/key-spacing": "warn",
|
||||
"@stylistic/keyword-spacing": ["warn", { "before": true, "after": true }],
|
||||
"@stylistic/new-parens": "warn",
|
||||
|
|
|
|||
Loading…
Reference in a new issue