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

Apply yarn format to reduce diffs #53

Merged
merged 3 commits into from
Mar 8, 2023

Conversation

james-hummingbot
Copy link
Contributor

@james-hummingbot james-hummingbot commented Mar 7, 2023

We should regularly use yarn format to enforce code style and catch errors. This PR is just the result of me calling yarn format on the development branch and deleting a syntax error in test-helpers (this is outside the normal build phase so it was never caught)

@@ -3,7 +3,7 @@ import path = require('path');
import https = require('https');
import axios from 'axios';
import { ConfigManagerV2 } from '../../src/services/config-manager-v2';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is an error.

@nikspz nikspz requested a review from fengtality March 7, 2023 11:46
Copy link
Contributor

@fengtality fengtality left a comment

Choose a reason for hiding this comment

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

LGTM

@fengtality fengtality merged commit aa9ef71 into hummingbot:development Mar 8, 2023
@fengtality fengtality deleted the fix/format branch March 8, 2023 15:13
@cheemeng
Copy link

cheemeng commented Mar 8, 2023

or add a pre-commit hook to auto format?

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.

3 participants