-
Notifications
You must be signed in to change notification settings - Fork 245
feat(eslint-plugin): add rules to ban experimental and developer preview #2037
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(eslint-plugin): add rules to ban experimental and developer preview #2037
Conversation
View your CI Pipeline Execution ↗ for commit c29c048.
☁️ Nx Cloud last updated this comment at |
2502f55
to
8b8c540
Compare
@json-derulo I pushed a commit which facilitates the type checked rule tests |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2037 +/- ##
==========================================
+ Coverage 92.62% 92.79% +0.17%
==========================================
Files 202 207 +5
Lines 4272 4374 +102
Branches 1002 1020 +18
==========================================
+ Hits 3957 4059 +102
Misses 245 245
Partials 70 70
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
0a5d5a4
to
dc80fb8
Compare
Very useful rules |
@json-derulo Do you have any plans to continue working on these please? |
@JamesHenry yes I am planning to continue work on this PR, probably it will take a few weeks though because at the moment I have limited availability. What's not working currently is that for some reason the annotated code is not always detected when imported from an external file, which I found while implementing the tests. Also, the code coverage is marked as insufficient, however the uncovered lines reported by the tool look strange. |
Any traction on this? |
This would tremendously help us manage usage of experimental apis, really looking forward to it. |
dc80fb8
to
a7d96fa
Compare
Addressed the issue with the imported constants, it now works correctly. I have tested the new rules in an Angular 20 project - usages of Also Codecov now seems to be much happier about the changes and no longer fails. CC @JamesHenry |
a7d96fa
to
0bb93c3
Compare
0bb93c3
to
c29c048
Compare
Thanks a lot @json-derulo, I rebased against the latest |
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!
…iew (angular-eslint#2037) (cherry picked from commit 41bcafc)
Closes #2305
Current status: