coronaaqui / website

MIT License
8 stars 17 forks source link

Enhance indentation rules #9

Closed leonardopliski closed 3 years ago

leonardopliski commented 4 years ago

Hey! Formidable project,

I've noticed that whenever I change some files in my environment with prettier without changing anything (just editor autosaving), prettier tries to fix some indentation issues that probably weren't like yours.

So I improved the prettier config for all of the contributors, added .editorconfig and run prettier across the entire project.

isaquediasm commented 4 years ago

Hey! Formidable project,

I've noticed that whenever I change some files in my environment with prettier without changing anything (just editor autosaving), prettier tries to fix some indentation issues that probably weren't like yours.

So I improved the prettier config for all of the contributors, added .editorconfig and run prettier across the entire project.

Hi Leonardo,

Thank you a lot for this PR, it's really useful! I've had some issues on my Mac with VSCode for NextJs projects, which didn't allow prettier to work properly and we just had to move faster.

I'll review and run the code asap and let you know once it's merged. Thank you :)