2019-07-18 03:27:54 +08:00
|
|
|
module.exports = {
|
2019-07-18 03:30:57 +08:00
|
|
|
parser: 'vue-eslint-parser',
|
|
|
|
parserOptions: {
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
},
|
2019-07-18 03:27:54 +08:00
|
|
|
extends: [
|
2020-08-12 19:24:32 +08:00
|
|
|
'plugin:vue/vue3-recommended',
|
2019-07-18 04:43:03 +08:00
|
|
|
'@antfu/eslint-config-ts',
|
2019-07-18 03:27:54 +08:00
|
|
|
],
|
|
|
|
plugins: [
|
2020-08-12 19:24:32 +08:00
|
|
|
'vue',
|
2019-07-18 03:27:54 +08:00
|
|
|
],
|
2019-07-19 15:32:43 +08:00
|
|
|
rules: {
|
2019-07-19 15:53:07 +08:00
|
|
|
'vue/max-attributes-per-line': ['warn', { singleline: 5 }],
|
2021-03-13 21:09:53 +08:00
|
|
|
'vue/html-self-closing': 'off'
|
2020-08-12 19:24:32 +08:00
|
|
|
},
|
2019-07-18 03:27:54 +08:00
|
|
|
}
|