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

Fix broken lint on CI #5507

Merged
merged 7 commits into from
Nov 11, 2024
Merged

Fix broken lint on CI #5507

merged 7 commits into from
Nov 11, 2024

Conversation

mifi
Copy link
Contributor

@mifi mifi commented Nov 11, 2024

i'm currently getting errors with yarn lint locally, but CI is succeeding. meaning i always have to bypass commit hooks:

Unable to resolve path to module '@uppy/...' import/no-unresolved

i'm currently getting errors with yarn lint locally,
but CI is succeeding. meaning i always have to bypass commit hooks
Unable to resolve path to module '@uppy/...'  import/no-unresolved
@Murderlon
Copy link
Member

Prettier failing currently

@mifi
Copy link
Contributor Author

mifi commented Nov 11, 2024

yes, and lint is still succeeding 🤔 ima try more things

@mifi
Copy link
Contributor Author

mifi commented Nov 11, 2024

wow i found the culprit

...(process.env.CI && {

@mifi
Copy link
Contributor Author

mifi commented Nov 11, 2024

to heck with it. i'll just disable the rule. i don't think it's very necessary now that we have typescript (which should also error if the import cannot be resolved, right?)

i don't think it's very necessary now that we have typescript
Copy link
Contributor

Diff output files
No diff

@@ -25,22 +26,12 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Get yarn cache directory path
Copy link
Member

Choose a reason for hiding this comment

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

Why remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because the setup-node action supports caching built in, so we can remove all this

@mifi mifi merged commit bff5265 into main Nov 11, 2024
17 checks passed
@mifi mifi deleted the fix-linters branch November 11, 2024 12:59
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.

2 participants