-
-
Notifications
You must be signed in to change notification settings - Fork 603
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: prevent weird behaviour of pre-commit hook #973
chore: prevent weird behaviour of pre-commit hook #973
Conversation
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.
In order to solve the issue, we have to follow this recommendation: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/README.md#usage-with-prettier
@ematipico Are these rules to be included within . {
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
]
} Is this the required workaround 🤔 |
We have to include this in all the |
@jamesgeorge007 Thanks for your update. I labeled the Pull Request so reviewers will review it again. @ematipico Please review the new changes. |
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.
These changes should be applied to the libraries inside packages
folder. You see, the change that you are applying are for TypeScript
files but the configuration you are changing are for JavaScript
files.
Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon. |
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.
Looks great to me 👍
Although, why are there changes to the lock
files when no new packages are neither added, updated or deleted?
@rishabh3112 CI was failing without those lock file changes. |
What kind of change does this PR introduce?
bugfix
Did you add tests for your changes?
N/A
If relevant, did you update the documentation?
N/A
Summary
Fixed the weird behavior of pre-commit hook as mentioned in #956
Fixes #956
Does this PR introduce a breaking change?
Nope
Other information
N/A