-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore/add prettier #93
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1 @@ | |||
dist/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This disables linting errors in code editors for built files.
* > 0 means decimals, < 0 means powers of 10 | ||
* | ||
* | ||
* @return {number} - The number, rounded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected a typo.
@@ -12,7 +12,7 @@ | |||
"keywords": [ | |||
"regression", | |||
"data", | |||
"fiting", | |||
"fitting", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected a typo.
This PR adds prettier to the codebase. Prettier is an opinionated code formatter, and it has gained popularity quickly. It allows a consistent style to be enforced, without too much infighting over what that style should be.
The approach I've taken here is to configure Prettier so the smallest number of changes occurred - this is what lead to the
.prettierrc
file committed.Feel free to push back and debate this change: #92