kriasoft/graphql-starter-kit

Integrate Prettier

Closed this issue · 4 comments

https://prettier.github.io/prettier/


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Wouldn't it make more sense to enforce code styling with some eslint rules and not accept anything that doesn't pass a pre-commit hook into this repo?

Seems like there are more things that would be useful to add to this particular project.

I personally prefer prettier to eslint, although they can both be used as mentioned in this tweet. This project is already using eslint. The prettier docs include an example of using it alongsideeslint.

@koistya close this one?

@followbl yep, thanks for heads up!