Skip to content

Commit c6b10f6

Browse files
committed
New rule: indent switch "case" sections
1 parent 96c727f commit c6b10f6

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
@@ -44,7 +44,7 @@
4444
"global-strict": 0,
4545
"guard-for-in": 0,
4646
"handle-callback-err": [2, "^(err|error)$" ],
47-
"indent": [2, 2],
47+
"indent": [2, 2, { "indentSwitchCase": true }],
4848
"init-declarations": 0,
4949
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
5050
"linebreak-style": 0,

0 commit comments

Comments
 (0)