create-vue icon indicating copy to clipboard operation
create-vue copied to clipboard

Add ESLint run-on-save VSCode settings

Open yoshi-pi opened this issue 1 year ago • 2 comments

As of #442, settings.json is now added when picking Prettier. How about adding the following setting when picking ESLint as well, so that linting is done on save?

{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  }
}

Related Issue #302

yoshi-pi avatar Mar 14 '24 05:03 yoshi-pi

Hi @yoshi-pi

Yes, I think this would be a good idea. Would you like to open a PR for this? We would gladly review and merge it.

cexbrayat avatar Mar 14 '24 06:03 cexbrayat

@cexbrayat I have opened a PR!

yoshi-pi avatar Mar 14 '24 11:03 yoshi-pi

Released

haoqunjiang avatar Mar 19 '24 08:03 haoqunjiang