style(eslint): 统一代码缩进规范为4个空格
This commit is contained in:
@@ -8,6 +8,8 @@ export default antfu(
|
|||||||
rules: {
|
rules: {
|
||||||
'no-console': 'warn',
|
'no-console': 'warn',
|
||||||
'no-debugger': 'warn',
|
'no-debugger': 'warn',
|
||||||
|
'style/indent': ['error', 4],
|
||||||
|
'indent': ['error', 4, { 'SwitchCase': 1 }],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user