实现个人中心下拉菜单;更新部分 eslint 规则

This commit is contained in:
2025-06-06 18:41:19 +08:00
parent 1d0008fd4d
commit cc39317fdf
14 changed files with 917 additions and 81 deletions

View File

@@ -16,10 +16,16 @@ const eslintConfig = [
stylistic.configs.recommended,
{
rules: {
'@stylistic/indent': ['error', 2, {
SwitchCase: 0,
}],
'@stylistic/object-curly-spacing': ['error', 'never'],
'@stylistic/jsx-tag-spacing': ['error', {
beforeSelfClosing: 'never',
}],
'@stylistic/jsx-closing-bracket-location': 'off',
'@stylistic/jsx-curly-newline': 'off',
'@stylistic/multiline-ternary': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},