mirror of
https://github.com/motajs/template.git
synced 2026-11-01 22:24:31 +08:00
chore: 调整文档侧的 eslint 规则
This commit is contained in:
1 parent
3cc0fa9bf6
commit
fc353302c0
1 file changed
+7
@@ -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'
|
||||
}
|
||||
}
|
||||
);
|
||||
Reference in new issue
Block a user