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

feat: add vscode config for ESLint

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

Description

If the user picks ESLint, then suggest the ESLint .vscode extension, and add the settings.

settings.json

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

extensions.json

{
  "recommendations": ["dbaeumer.vscode-eslint"]
}

Related Issue

#466

Notes for Reviewers

  • Created template/config/eslint dedicated to ESLint's static settings, including .vscode/extensions.json and .vscode/settings.json.
  • Removed the existing code for adding the ESLint extension.
  • Added code to merge Prettier settings into settings.json instead of overwriting them.
  • Enabled generation of ESLint and Prettier snapshots.

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