Matthieu Riegler
6dff287bb8
refactor(compiler-cli): Add a diagnostic to detect forbiden invocations of required initializers ( #63614 )
...
The diagnostic will raise an error when required initializers (input, model, queries) are invoked the context of property initializers and contructors.
Docs will be provided in a follow-up
fixes #63602
PR Close #63614
2025-09-15 19:34:32 +00:00
Joey Perrott
9dbe6fc18b
refactor: update license text to point to angular.dev ( #57901 )
...
Update license text to point to angular.dev instead of angular.io
PR Close #57901
2024-09-24 15:33:00 +02:00
Joey Perrott
0d78a92431
refactor: migrate compiler-cli to prettier formatting ( #55485 )
...
Migrate formatting to prettier for compiler-cli from clang-format
PR Close #55485
2024-04-29 10:25:43 -07:00
Kristiyan Kostadinov
694ba79cbf
fix(compiler-cli): report cases where initializer APIs are used in a non-directive class ( #54993 )
...
Expands the check for initializer APIs to also flag when the function is called on a class that isn't a component or directive.
PR Close #54993
2024-03-28 09:17:03 -07:00
Kristiyan Kostadinov
78188e877a
fix(compiler-cli): add diagnostic if initializer API is used outside of an initializer ( #54993 )
...
Adds a rule that will produce a diagnostic when an initializer-based API is used outside of an initializer.
Fixes #54381 .
PR Close #54993
2024-03-28 09:17:02 -07:00