simpleweb / romulus-cli

Brings structure to your React Native apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Format code output with Prettier

benjaminreid opened this issue · comments

@nouveller sounds good, but isn't this something that should be in our editors and not the project? I guess this would be good for if we ever have to hand code over to clients

Well having it in our editors is definitely a wider question, one for our next working group. For a while, we've had the idea to make our JavaScript more consistent and if this was integrated into our editors, it definitely would do.

The only reason I suggested adding it to the generator was so that the code formatting was consistent, less human error. Especially when the code is being dynamically generated too.

There are things I don't agree with in Prettier but happy to put my discrepancies aside for the greater good.

🤘

I'm fine with either to be honest!