Skip to content

Commit 82f39d6

Browse files
authored
fix: change switch statement indent to 0 (#31)
1 parent e2e7516 commit 82f39d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ const baseConfigs: tseslint.ConfigWithExtends[] = [
4444
avoidEscape: true,
4545
}],
4646
'@stylistic/semi': ['error', 'never'],
47-
'@stylistic/indent': [2, 4],
48-
'@stylistic/no-multiple-empty-lines': [2, {
47+
'@stylistic/indent': ['error', 4, { 'SwitchCase': 0 }],
48+
'@stylistic/no-multiple-empty-lines': ['error', {
4949
max: 1,
5050
maxEOF: 1,
5151
}],

0 commit comments

Comments
 (0)