Skip to content

4.3.0

Compare
Choose a tag to compare
@mgechev mgechev released this 23 Apr 05:48
· 275 commits to master since this release

New Rules

  • max-inline-declarations which limits the size of inline templates and/or styles. Credits to NagRock #536 174ed46.
  • prefer-output-readonly requires the @Outputs of a component to be readonly. Credits to rafaelss95 #515 3d652d1.
  • no-conflicting-life-cycle-hooks prevents to implement OnChanges and DoCheck on the same class. Credits to rafaelss95 #560 e521115.
  • enforce-component-selector Component Selector Required #551 b9c899b. Credits to wKoza.
  • no-life-cycle-call disallow explicit calls to lifecycle hooks. Credits to rafaelss95 #427 3e10013

Bug Fixes

  • Possible bug with no-input-rename #374 f3a53bd.
  • Removed dependency on @angular/platform-browser-dynamic #525 671e954.
  • Rule contextual-life-cycle too aggressively scoped #545 dcb4b3e.
  • no-output-named-after-standard-event Does Not Check Output Rename #537 96d9292.
  • Template Conditional Complexity reports incorrect threshold #533 5851306.

A lot of credits go to rafaelss95, wKoza. The rest of the amazing people who work on codelyzer can be found here.