-
Notifications
You must be signed in to change notification settings - Fork 22
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
V8 Planned Changes #222
Comments
I would like to propose that the default the use of expect was originally a legacy issue and has since been superseded with better patters like |
I agree that we shouldn't unnecessarily require |
QUnit's docs for
so I appreciate the move to "Change require-expect rule default to never-except-zero" // this is getting flagged by `require-expect` (technically correct but missing the point, I think)
test('it does some async things just fine', async function (assert) {
const done = assert.async(); // <== do I still need to do this? seems to work without it
// ... do the testing ...
done();
}) In my case, the test is reading in a CSV file and performing an |
@jacobq If you return a promise or use an async function, QUnit will wait for that promise to be resolved. So you shouldn't need to use |
Thanks, that's sort-of what I thought (hadn't had to use |
@bmish This is becoming relatively urgent for us as GitHub Actions CI are now failing: https://github.com/platinumazure/eslint-plugin-qunit/actions/runs/5391205279/jobs/9787683963 Researched the issue and found this: https://stackoverflow.com/a/76255847 I think dependabot upgraded our lockfile to version 3 and that has broken our CI on npm 12 and 14. 12 is way past EOL and 14 recently hit EOL. So I think it's time to cut a major release here. Is your list of proposed breaking changes still reasonably accurate? Do you have anything you want to add? |
@platinumazure I agree it's a good time for a release. I just opened up PRs for the 3 breaking changes I would like to get included. If you want to review and approve those, then one of us can conduct the major release now (I'm happy to if that helps). |
@bmish Thanks! Only other thing I want to do is upgrade the other dependencies (which I started doing locally on top of my own Node version breaking change but I will take yours and rebase). I'll merge your 3 PRs, finish my changes, then push my own PR-- after that we can do the major release. Sound good? Thanks for your help! |
Sounds good, please go ahead and merge my PRs and do all your dependency upgrades. |
@platinumazure approved. Feel free to conduct the major release. If you'd like me to do it, I'm happy to. |
@bmish Thanks! I've merged everything that is ready to merge. I'm having trouble with the release. I followed the instructions in RELEASE.md but it generated a patch bump rather than a major bump. When you have time, could you take a look and see if we need to change any configuration for release-it? Thanks! |
@platinumazure I opened #380 which should improve the automatic version numbers and the quality of the changelog generated. |
@bmish I've cut a release and it looks good to me. Mind checking on your end? If all looks good, feel free to close the issue or leave a comment. Thanks for your help today! |
Looks great! Thanks! https://github.com/platinumazure/eslint-plugin-qunit/releases/tag/v8.0.0 |
Thanks again @bmish for all your help! |
Starting a list of my desired breaking changes, feedback welcome. Likely this release won't happen until 2022-05 or 2022-06 when we can drop Node 12/17 support, unless we come up with additional breaking changes we want to release sooner.
require-expect
rule default option tonever-except-zero
#375recommended
rules:Changes for future major versions:
recommended
rules:no-invalid-names
#298For reference, V7 was release 2021-10 (CHANGELOG, discussion in #175).
The text was updated successfully, but these errors were encountered: