22 lines
602 B
JavaScript
22 lines
602 B
JavaScript
import pluginVue from 'eslint-plugin-vue'
|
|
import vueTsEslintConfig from '@vue/eslint-config-typescript'
|
|
|
|
export default [
|
|
{
|
|
ignores: ['dist/**', 'node_modules/**']
|
|
},
|
|
...pluginVue.configs['flat/recommended'],
|
|
...vueTsEslintConfig(),
|
|
{
|
|
rules: {
|
|
'vue/multi-word-component-names': 'off',
|
|
'vue/max-attributes-per-line': 'off',
|
|
'vue/html-indent': 'off',
|
|
'vue/html-closing-bracket-newline': 'off',
|
|
'vue/html-self-closing': 'off',
|
|
'vue/singleline-html-element-content-newline': 'off',
|
|
'vue/multiline-html-element-content-newline': 'off'
|
|
}
|
|
}
|
|
]
|