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

Set javascript editor.defaultFormatter to dbaeumer.vscode-eslint #264

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

y-temp4
Copy link

@y-temp4 y-temp4 commented Feb 18, 2023

When formatting by esbenp.prettier-vscode is enabled globally in VSCode, it seems to reflect Prettier's default settings when saving .js files.

There were several possible fixes, including setting formatting in npm scripts, setting .eslintrc.js, and adding .prettierrc, but for now, I'm just going to add the javascript defaultFormatter to the .vscode/settings.json setting that applies to this project.

This should help non-core contributors when editing .js files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant