Let's say I have a component from an outside library, that another project was using, but now I want to "deprecate" that component and eventually remove it entirely, but marking it as "deprecated" would cause the build OR eslint to throw an error for anywhere, including the HTML template that component was being used.
// Somehow mark this component as "deprecated"
@Component({
selector: 'test-component',
})
<!-- Linter or Angular CLI should show warning/error about component being "deprecated" -->
<test-component></test-component>
So far the only thing I've found is this - https://medium.com/@dileepkumarjami/how-to-mark-an-angular-components-selector-as-deprecated-aad11bb9feda -- but that only outputs something to the console, which would be useless since most of our developers don't pay attention to those warnings 😕