You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
banana-in-box can be deprecated once new Angular compiler checks have auto-fixing #660
changed the title [-]About `banana-in-box`[/-][+]`banana-in-box` can be deprecated once new Angular compiler checks are exposed publicly[/+]on Sep 21, 2021
Extended diagnostics are available as of Angular 13.2, but until autofixing gets implemented it really isn't a fully viable alternative to the current lint rule.
changed the title [-]`banana-in-box` can be deprecated once new Angular compiler checks are exposed publicly[/-][+]`banana-in-box` can be deprecated once new Angular compiler checks have auto-fixing[/+]on Jul 4, 2022
Overall there are just too many moving pieces here to provide a seamless switchover for users, the vast majority of which will have no idea about Extended Diagnostics at all.
The minority of power users who want to switch over from the lint rule to the Extended Diagnostic can do so by simply disabling the rule in their ESLint config and wiring up the necessary tsconfig config per the above link.
We can potentially revisit this if Angular switches its approach to Extended Diagnostics in the future and sets all users up with them by default.
Activity
JamesHenry commentedon Sep 20, 2021
Cool, good catch! Yeah looks like we should mark this as deprecated in v13 onwards
JamesHenry commentedon Sep 20, 2021
FYI Joost from the Angular Team said that these compiler checks are still behind a flag so it’s not time to deprecate it yet
[-]About `banana-in-box`[/-][+]`banana-in-box` can be deprecated once new Angular compiler checks are exposed publicly[/+]JamesHenry commentedon Apr 14, 2022
Extended diagnostics are available as of Angular 13.2, but until autofixing gets implemented it really isn't a fully viable alternative to the current lint rule.
Autofixing tracked in angular/angular#44941
[-]`banana-in-box` can be deprecated once new Angular compiler checks are exposed publicly[/-][+]`banana-in-box` can be deprecated once new Angular compiler checks have auto-fixing[/+]DerZyklop commentedon Oct 13, 2022
FYI:
»support to fix invalid banana in box« got merged.
JamesHenry commentedon Nov 17, 2022
I don't think it makes sense to press ahead with this.
Even in the newly released Angular v15 does not configured Extended Diagnostics for you, and for them to work you have to have opted into
strictTemplatestype checking, which we cannot rely on the user having done (source https://angular.io/extended-diagnostics)Overall there are just too many moving pieces here to provide a seamless switchover for users, the vast majority of which will have no idea about Extended Diagnostics at all.
The minority of power users who want to switch over from the lint rule to the Extended Diagnostic can do so by simply disabling the rule in their ESLint config and wiring up the necessary tsconfig config per the above link.
We can potentially revisit this if Angular switches its approach to Extended Diagnostics in the future and sets all users up with them by default.