Ghost---Shadow/i18nize-react

Opinionated code styling

AlpacaGoesCrazy opened this issue · 1 comments

The concept of this utility is great, but when I ran it against my app it changed not only files with hardcoded strings but all the files in my project. It also enforced some specific code styling rules.
Screen Shot 2019-06-27 at 2 49 12 PM
I think this tool was created to help i18n an application and not to style code

Babel parses your code into an AST. The AST has no way of saving the code style. So, on generating back the code from AST. It just applies its own style.

That is why I recommend to run your favourite linter/prettier after running this.