Skip to content

Commit 2979ebc

Browse files
committed
frontend: change eslint intend to stylistic/indent
@stylistic/indent should also catch formatting of types and not just JavaScript.
1 parent 12e6e60 commit 2979ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontends/web/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export default tseslint.config(
2626
'brace-style': ['error', '1tbs'],
2727
'comma-spacing': ['error', { 'before': false, 'after': true }],
2828
'curly': 'error',
29-
'indent': ['error', 2, { 'SwitchCase': 0 }],
3029
'jsx-a11y/anchor-is-valid': 0,
3130
'jsx-a11y/alt-text' : 0,
3231
'jsx-quotes': ['error', 'prefer-double'],
@@ -63,6 +62,7 @@ export default tseslint.config(
6362
'logical': 'parens-new-line'
6463
}],
6564
'@stylistic/type-generic-spacing': ['error'],
65+
'@stylistic/indent': ['error', 2, { "SwitchCase": 0 }],
6666
},
6767
},
6868
{

0 commit comments

Comments
 (0)