Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat(rule-tester): stricter rule test validations#9086
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
feat(rule-tester): stricter rule test validations#9086
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for the PR,@Vinccool96! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint. |
netlifybot commentedMay 13, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
✅ Deploy Preview fortypescript-eslint ready!
To edit notification comments on pull requests, go to yourNetlify site configuration. |
nx-cloudbot commentedMay 13, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
☁️ Nx Cloud ReportCI is running/has finished running commands for commit3bdc61e. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 fromNxCloud. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
aca9d06 tobde1e6eCompareVinccool96 commentedMay 13, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Never mind, there was way less things to fix than I thought. |
901db33 to6e71280Compare06d3edf to5f55140CompareVinccool96 commentedMay 27, 2024
@auvred Is everything good to merge? |
5f55140 tocbdf415Compare
auvred left a comment
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.
Left a few minor requests but overall looks great!
Btw, there is no need to ping individuals for review. We have a queue and we get to things when we can.https://typescript-eslint.io/contributing/pull-requests
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
7ff0f76 toc13178aComparea2715a0 tob121617Compare40ec555 toe761ee1Comparee761ee1 to271d694Compare271d694 toc94ed24CompareVinccool96 commentedJun 27, 2024
Sorry for the force pushes, I'm used to do rebase updates |
auvred left a comment
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.
Did you check this comment?#9086 (comment)
We still miss this assertion
Vinccool96 commentedJun 27, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The assertion is herehttps://github.com/Vinccool96/typescript-eslint/blob/4eebf7df8d89a919fbc03b69c9405d118e9d066a/packages/rule-tester/src/RuleTester.ts#L1047-L1057, lines 1047 to 1057 |
auvred commentedJun 27, 2024
On typescript-eslint/packages/rule-tester/src/RuleTester.ts Lines 874 to 884 inde18a6e
typescript-eslint/packages/rule-tester/src/RuleTester.ts Lines 1032 to 1042 inde18a6e
|
Vinccool96 commentedJun 27, 2024
Alright, let me plop it back in |
Vinccool96 commentedJun 27, 2024
The prodigal son has returned |
auvred left a comment
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.
Thanks for working on this!
JoshuaKGoldberg left a comment
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.
The tests for this looked like a real slog, thanks so much for doing this! 🙌
Just a couple of teeny suggestions. Nothing major from me. We can apply them before merging if you don't get a chance before our Monday release.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
JoshuaKGoldberg left a comment
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.
Thanks! 🙌
Vinccool96 commentedJul 3, 2024
Had to merge since the main branch had tests that would've failed with the stricter rule tester (tests added by me, what was I thinking!) |

PR Checklist
Overview
Brings in changes fromeslint/eslint#17654. This is pretty much a copy & paste.