Skip to content

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.

"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.

1 participant