-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
feat: new rule spec-only
to check for non-spec Promise methods
#502
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #502 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 25 25
Lines 649 675 +26
Branches 250 254 +4
=========================================
+ Hits 649 675 +26 ☔ View full report in Codecov by Sentry. |
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.
Thank you for changing this PR! LGTM!
However, I think it might be better to hold off on the merge until the #506 issue is resolved and the release flow is finalized.
🤖 I have created a release *beep* *boop* --- ## [7.1.0](v7.0.0...v7.1.0) (2024-08-06) ### 🌟 Features * **`catch-or-return`, `prefer-await-to-then`:** do not report Cypress commands ([#495](#495)) ([943f162](943f162)) * **`prefer-await-to-then`:** ignore constructor scope unless with `strict` option ([#496](#496)) ([7bffb7a](7bffb7a)) * new rule `spec-only` to check for non-spec Promise methods ([#502](#502)) ([d6e9de1](d6e9de1)) ### 📚 Documentation * fixes the CI readme badge ([#511](#511)) ([030a3be](030a3be)) * supply missing docs ([#503](#503)) ([602d825](602d825)) ### 🧹 Chores * bump dev dependencies ([#483](#483)) ([197ae4e](197ae4e)) * **deps-dev:** bump husky from 9.1.1 to 9.1.2 ([#516](#516)) ([ab8e7a0](ab8e7a0)) * file extension missing ([#519](#519)) ([94c9834](94c9834)) * fix format.yml ([#507](#507)) ([948c097](948c097)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
What is the purpose of this pull request?
What changes did you make? (Give an overview)
Add a new rule
spec-only
to check for non-spec Promise methodsFixes #46.