14 lines
484 B
JavaScript
14 lines
484 B
JavaScript
import pluginVue from 'eslint-plugin-vue'
|
|
import tsParser from '@typescript-eslint/parser'
|
|
|
|
/** Oxlint 检查脚本,ESLint 仅补充 Vue 模板语义检查,格式统一交给 Oxfmt。 */
|
|
export default [
|
|
{ ignores: ['dist/**', 'coverage/**', 'node_modules/**'] },
|
|
...pluginVue.configs['flat/essential'],
|
|
{
|
|
files: ['**/*.vue'],
|
|
languageOptions: { parserOptions: { parser: tsParser } },
|
|
rules: { 'vue/multi-word-component-names': 'off' }
|
|
}
|
|
]
|