mirror of
https://github.com/palxiao/poster-design
synced 2024-11-23 00:28:49 +00:00
24 lines
513 B
JavaScript
24 lines
513 B
JavaScript
module.exports = {
|
||
extends: [
|
||
'alloy',
|
||
'alloy/vue',
|
||
// 'alloy/typescript',
|
||
'@vue/typescript',
|
||
],
|
||
env: {
|
||
// 你的环境变量
|
||
},
|
||
globals: {},
|
||
rules: {
|
||
// 自定义你的规则
|
||
'vue/component-tags-order': ['off'],
|
||
'vue/no-multiple-template-root': ['off'],
|
||
// 'no-undef': 'off', // 禁止使用未定义的变量,会把TS声明视为变量,暂时关闭
|
||
},
|
||
parserOptions: {
|
||
ecmaFeatures: {
|
||
legacyDecorators: true, // 配置允许注解
|
||
},
|
||
},
|
||
}
|