chore: 调整文档侧的 eslint 规则

This commit is contained in:
AncTe committed 2026-10-29 20:26:35 +08:00
1 parent 3cc0fa9bf6
commit fc353302c0
1 file changed
+7
+7
View File
@@ -76,5 +76,12 @@ export default tseslint.config(
eqeqeq: ['error', 'always'],
'react/jsx-boolean-value': ['error', 'never']
}
},
{
files: ['docs/.vitepress/components/**/*.vue'],
rules: {
'vue/attribute-hyphenation': ['warn', 'never'],
'vue/one-component-per-file': 'off'
}
}
);