Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

a-ogilvie
Copy link

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

@@ -0,0 +1 @@
dist/*
Copy link
Author

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
Copy link
Author

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",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected a typo.

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

Successfully merging this pull request may close these issues.

None yet

1 participant