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

Bugfix husky eslint linting errors #29

Merged
merged 5 commits into from
Apr 19, 2023

Conversation

robinduerhager
Copy link
Collaborator

Fixes #28

Solutions

@robinduerhager robinduerhager requested a review from ropfoo April 19, 2023 00:08
.eslintignore Outdated
@@ -0,0 +1 @@
packages/
Copy link
Owner

@ropfoo ropfoo Apr 19, 2023

Choose a reason for hiding this comment

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

but why? :D if there is no lint script specified the linter does not run in the first place...
I think we should also lint files in utils for example

Copy link
Collaborator Author

@robinduerhager robinduerhager Apr 19, 2023

Choose a reason for hiding this comment

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

It's super weird, yesterday i wasn't able to commit any changes because of this, though today i saw that this error only happens if you change the corresponding package. The lint seems to be skipped for tonemato-utils if you just change an app.

Maybe yesterday pulling changes for this file or some formatting stuff triggered a lint? idk. Removing .eslintignore for now since this issue only occurs when modifying a package.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Here a picture of what happens if you change tonemato-utils and try to commit.
output_lint_packages

Copy link
Owner

@ropfoo ropfoo Apr 19, 2023

Choose a reason for hiding this comment

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

ahhhh I know why... thats my bad I configured lint-staged to check that package but never set up eslint there :D gonna add a fix for that in a separate pr

Screenshot 2023-04-19 at 20 09 21

lel

Copy link
Owner

Choose a reason for hiding this comment

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

fixed in #30

@robinduerhager robinduerhager requested a review from ropfoo April 19, 2023 09:19
@ropfoo ropfoo mentioned this pull request Apr 19, 2023
@robinduerhager robinduerhager merged commit b9ea4fe into develop Apr 19, 2023
@robinduerhager robinduerhager deleted the bugfix/husky-linting-errors branch April 19, 2023 20:32
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.

Husky and linting errors on commit
2 participants