feat: overhaul

This commit is contained in:
Anthony Fu
2021-03-15 01:53:40 +08:00
parent 072c61bfa6
commit d11174c6dd
7 changed files with 169 additions and 54 deletions

View File

@@ -1,17 +1,20 @@
module.exports = {
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
overrides: [
{
files: ['*.vue'],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
},
],
extends: [
'plugin:vue/vue3-recommended',
'@antfu/eslint-config-ts',
],
plugins: [
'vue',
],
rules: {
'vue/max-attributes-per-line': ['warn', { singleline: 5 }],
'vue/html-self-closing': 'off'
'vue/html-self-closing': 'off',
'vue/no-v-html': 'off',
},
}