Closed zlxbuzz closed 5 years ago
How am I supposed to reproduce this? I don’t have enough information to help you.
@lydell Thanks for respond to my question, i just want to disallows this rule(semi) in vue.template , not in *.js or vue.script.Is there any way?
module.exports = {
env: {
browser: true,
es6: true,
commonjs: true
},
parserOptions: {
sourceType: "module"
},
extends: [ "plugin:vue/base","plugin:prettier/recommended"]
};
Are you looking for ESLint overrides?
@lydell I have a little thought, thank you for your reply.
eslint-config-prettier 3.3.0
I use vim-prettier will generate semi automatically , but cause error ,how do I configure it?
Input:
Output:
Expected behavior:
No error;