henkaku-center / henkaku-nengajo-frontend

https://nengajo.henkaku.org/
8 stars 14 forks source link

Add .vscode/settings.json #51

Closed imaichiyyy closed 1 year ago

imaichiyyy commented 1 year ago

Add settings.json into .vscode/ To make the settings the same in each environment, I'd think we could add a configuration file for Prettier.

{
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.formatOnSave": true,
  "editor.tabSize": 2,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ]
}
alecrem commented 1 year ago

I see! We have .prettierrc.json but this is useful in addition to that.