Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(frontend): setup prettier #10

Merged
merged 6 commits into from
Jul 14, 2024
Merged

Conversation

falsepopsky
Copy link
Collaborator

@falsepopsky falsepopsky commented Jul 11, 2024

  • added format and lint extensions for the frontend files
  • setup prettier to format files in the frontend
  • bump pnpm (package manager)
  • bump deps and fixed the error with ts-eslint

@falsepopsky falsepopsky requested a review from amine4567 July 11, 2024 00:17
@falsepopsky
Copy link
Collaborator Author

required for pr #9

Comment on lines +19 to +26
"[javascript][typescript][typescriptreact][tailwindcss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "always",
"source.organizeImports": "always"
},
},
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

set as default formatter prettier for {.js, .ts, .tsx and .css files}

reference https://code.visualstudio.com/docs/getstarted/settings#_multiple-languagespecific-editor-settings

Comment on lines +20 to +23
"charliermarsh.ruff",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format and lint extensions for the frontend files

@falsepopsky falsepopsky changed the title chore: setup prettier chore(frontend): setup prettier Jul 12, 2024
@falsepopsky falsepopsky merged commit d91d337 into RetroOlympics:main Jul 14, 2024
3 checks passed
@falsepopsky falsepopsky deleted the dev branch July 14, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant