Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Add linter/formatting rules #11

Closed
Charlie85270 opened this issue May 26, 2022 · 0 comments
Closed

Add linter/formatting rules #11

Charlie85270 opened this issue May 26, 2022 · 0 comments

Comments

@Charlie85270
Copy link
Contributor

To avoid formatting differences between developers and to make the code easier to read (especially for PRs) it is advisable to use a linter configured directly in the project, for example Prettier.
Concerning the rules, each developer has preferences, personally I always use the AirBnb rules (the most known): https://gist.github.com/bradtraversy/aab26d1e8983d9f8d79be1a9ca894ab4

@posix4e posix4e closed this as completed Jun 1, 2022
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

2 participants