Closed
Description
Version
latest
Vue Version
latest
Link to minimal reproduction
Step to reproduce
在项目中定义单行对象即可出现错误提示
const data = {item:1}
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
eslint中·@typescript-eslint/member-delimiter-style
这个中配置为
singleline: {
delimiter: 'semi',
requireLast: true
}
要求在对象在单行模式下以分号结尾,但是prettier会自动删除对象结尾的分号,导致eslint
产生警告
期望删除相关配置,单行不需要以分号结尾