Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Adding Prettier for Code formatting #37

Open
ResuBaka opened this issue Jan 31, 2020 · 1 comment
Open

Adding Prettier for Code formatting #37

ResuBaka opened this issue Jan 31, 2020 · 1 comment

Comments

@ResuBaka
Copy link
Collaborator

Summary

For a more consistent code formation I would throw in Prettier so that all code is formatted the same.

Motivation

This would help with contribution as we don't need to look into the formation of the code so much as it should a be correct from the start as it is formatted with prettier.

Drawbacks

Possible drawbacks would be that some people don't like the prettier rules when they contribute to the project but as they should not use the Repo directly and just install it from npm that should not be a problem for the end user.

A second problem/drawback would be that we need to change the eslint rules a bit, but as I want to update the version of it anyways these probably are going to change a bit when I do it.

Rationale and alternatives

The only alternative I know of is eslint it self with the fix option, but that is more for bad habits and trying to find bugs before they happen and not formatting.

@ResuBaka
Copy link
Collaborator Author

Here a link to Prettier.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant