fix(prefer-find-by): stop prefer-find-by fixer to break code when no …#472
fix(prefer-find-by): stop prefer-find-by fixer to break code when no …#472Belco90 merged 3 commits intotesting-library:mainfrom
Conversation
…spaces before bracket
Belco90
left a comment
There was a problem hiding this comment.
Hi @dyatko!
Good catch! And thank you very much for opening a PR with the fix, I really appreciate it.
It looks good to me, just a small question about if we could make it even more generic. Don't sweat it if it seems an overengineering solution, the current version is better than before!
Belco90
left a comment
There was a problem hiding this comment.
Great! Thanks again for your contribution.
|
Getting really weird errors in the pipeline when running the tests. I'll have to take a look, no idea what's happening at first sight. |
|
That's a different issue actually: you can see how it's failing to try to install some dependencies. Our error is caused by Node v16.9.0: nodejs/node#40030 We need to avoid this version meanwhile and stick to v16.8.0. I'm gonna create a PR to stick that Node version our GitHub Actions, so we can get that change here. |
|
Pull request created: #473 |
|
🎉 This PR is included in version 4.12.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
@all-contributors please add @dyatko for bug and code |
|
I've put up a pull request to add @dyatko! 🎉 |
…spaces before bracket
Checks
Changes
Add check for spaces before brackets for
prefer-find-byfixerContext
The rule fixer didn't assume that some codebases may not separate brackets with spaces, so it's braking the code: