-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix(eslint-plugin-query): update deprecated getSourceCode()
method
#8117
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit a22eff6. 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 2 targetsSent with 💌 from NxCloud. |
you need to disable the linter for that fallback:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8117 +/- ##
=========================================
+ Coverage 0 87.82% +87.82%
=========================================
Files 0 15 +15
Lines 0 493 +493
Branches 0 183 +183
=========================================
+ Hits 0 433 +433
- Misses 0 46 +46
- Partials 0 14 +14
|
Thanks for the reminder, I've just added the eslint-disable |
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.
LGTM
https://eslint.org/docs/latest/extend/custom-rules#accessing-the-source-code
getSourceCode()
has been deprecated in favor ofsourceCode
. This PR introduces the latter, while also keeping the deprecated one as fallback.