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

Configure prettierrc #123

Open
dapplion opened this issue Apr 3, 2020 · 0 comments
Open

Configure prettierrc #123

dapplion opened this issue Apr 3, 2020 · 0 comments

Comments

@dapplion
Copy link
Contributor

dapplion commented Apr 3, 2020

Brief aside, but we should be able to have prettier add ending commas in cases like this, to decrease the line diffs.

Originally posted by @sohkai in #90 (comment)


Add

"trailingComma": "es5"

To the .prettierrc file

Then run

node_modules/.bin/prettier --write "**/*.{ts,js}"

Warning: will generate a massive diff, do in a period of low development

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

No branches or pull requests

1 participant