Skip to content

Conversation

tonix-tuft
Copy link

@tonix-tuft tonix-tuft commented Apr 26, 2020

I have forked your repo and as I am using Prettier with VS Code and it automatically formats code code on save, I had to add a .prettierignore file.
I guess other devs use Prettier too nowadays, so I think it would be great if the project supported it as well.

For now, the .prettierignore file ignores all the files within the src directory, but as soon as we enable Prettier, I will change that and the files will be automatically formatted on save (provided that the editor supports the format on save option, VS Code does).

If you are using VS Code, you can install Prettier by Esben Petersen (the first one with 6.1M downloads):

image

And configure VS Code in your Settings:

image

image

image

image

Then we can add a .prettierrc file containing all the formatting rules conventions for this specific project.

What do you think?

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.

1 participant