-
Notifications
You must be signed in to change notification settings - Fork 212
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
Update @openverse/eslint-plugin #3737
Conversation
ae65a82
to
fda0a79
Compare
I'm not sure what's going on with the linting on this PR - @WordPress/openverse-frontend anyone with more npm expertise, do you know what might be happening? |
c9eebbc
to
8d84b1d
Compare
It's almost certainly an issue with the "minor" update to swc cli. I'll review the changelog and see if anything stands out. That kind of error is almost always a compilation configuration issue. ESLint is exceptionally picky with how plugin code is emitted. |
It's passing for me locally, so I'm going to rebase this and push again to see if it was just a flaky issue. Maybe the lint files step didn't get the updated dependencies, somehow? 🤔 |
8d84b1d
to
9cc8ed5
Compare
Oh wait, actually the plugin isn't building for me locally: ➜ openverse git:(gha-renovate@openverseeslint-plugin) pnpm run postinstall
No projects matched the filters in "/home/sara/projects/openverse"
|
The build step did work for |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
It turns out swc is putting output in |
Alright, so just to confirm, the root cause of the issue was a change in swc to preserve the file tree when passed a directory inside the output directory. So building |
@@ -5,7 +5,7 @@ | |||
"version": "0.0.0", | |||
"main": "dist/index.js", | |||
"scripts": { | |||
"build": "swc ./src -d ./dist", | |||
"build": "swc ./src -d ./dist --strip-leading-paths --delete-dir-on-start", |
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.
This is ultimately the necessary fix, but the changes to postinstall
and preeslint
in the root package.json make things consistent with pnpm
docs.
What a find, thanks for fixing that Sara! |
This PR contains the following updates:
^0.1.62
->^0.3.0
^0.21.0
->^0.22.0
Release Notes
node%20./bin (@swc/cli)
v0.1.65
Compare Source
playwright-community/eslint-plugin-playwright (eslint-plugin-playwright)
v0.22.2
Compare Source
Bug Fixes
prefer-to-have-count
false positive (510e71c), closes #207checked
property oftoBeChecked
when it is not a boolean literal (3563148), closes #205v0.22.1
Compare Source
Bug Fixes
v0.22.0
Compare Source
Bug Fixes
expect
without assertion inmissing-playwright-await
(#201) (47249ce)Features
no-wait-for-selector
rule (#198) (5bc943f)Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.