poster-design/.eslintrc.js
2023-07-20 18:53:28 +08:00

24 lines
513 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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, // 配置允许注解
},
},
}