实现个人中心下拉菜单;更新部分 eslint 规则
This commit is contained in:
@@ -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',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user