Bot releases are visible (Hide)
🙇🏼♂️ Thanks to @rafaelss95, @mohammedzamakhan, @wKoza, @mgechev
Angular CLI will automatically migrate your projects to reflect the latest config.
contextual-life-cycle
is renamed to contextual-lifecycle
no-conflicting-life-cycle-hooks
is renamed to no-conflicting-lifecycle
no-life-cycle-call
is renamed to no-lifecycle-call
use-life-cycle-interface
is renamed to use-lifecycle-interface
decorator-not-allowed
is renamed to contextual-decorator
enforce-component-selector
is renamed to use-component-selector
no-output-named-after-standard-event
is renamed to no-output-native
use-host-property-decorator
is renamed to no-host-metadata-property
use-input-property-decorator
is renamed to no-inputs-metadata-property
use-output-property-decorator
is renamed to no-outputs-metadata-property
no-queries-parameter
is renamed to no-queries-metadata-property
pipe-impure
is renamed to no-pipe-impure
use-view-encapsulation
is renamed to use-component-view-encapsulation
i18n
is renamed to template-i18n
banana-in-box
is renamed to template-banana-in-box
no-template-call-expression
is renamed to template-no-call-expression
templates-no-negated-async
is renamed to template-no-negated-async
trackBy-function
is renamed to template-use-track-by-function
no-attribute-parameter-decorator
is renamed to no-attribute-decorator
max-inline-declarations
is renamed to component-max-inline-declarations
Keep in mind the following renames:
contextual-life-cycle
=> contextual-lifecycle
no-conflicting-life-cycle-hooks
=> no-conflicting-lifecycle
no-life-cycle-call
=> no-lifecycle-call
use-life-cycle-interface
=> use-lifecycle-interface
decorator-not-allowed
=> contextual-decorator
enforce-component-selector
=> use-component-selector
no-output-named-after-standard-event
=> no-output-native
use-host-property-decorator
=> no-host-metadata-property
use-input-property-decorator
=> no-inputs-metadata-property
use-output-property-decorator
=> no-outputs-metadata-property
no-queries-parameter
=> no-queries-metadata-property
pipe-impure
=> no-pipe-impure
use-view-encapsulation
=> use-component-view-encapsulation
i18n
=> template-i18n
banana-in-box
=> template-banana-in-box
no-template-call-expression
=> template-no-call-expression
templates-no-negated-async
=> template-no-negated-async
trackBy-function
=> template-use-track-by-function
no-attribute-parameter-decorator
=> no-attribute-decorator
max-inline-declarations
=> component-max-inline-declarations
Published by mgechev over 6 years ago
Credits to the codelyzer's maintainers and contributors.
max-inline-declarations
which limits the size of inline templates and/or styles. Credits to NagRock #536 174ed46.prefer-output-readonly
requires the @Output
s 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
@angular/platform-browser-dynamic
#525 671e954.contextual-life-cycle
too aggressively scoped #545 dcb4b3e.no-output-named-after-standard-event
Does Not Check Output Rename #537 96d9292.A lot of credits go to rafaelss95, wKoza. The rest of the amazing people who work on codelyzer can be found here.
template-cyclomatic-complexity
which limits the estimated Cyclomatic complexity in your templates. Credits to wKoza.template-conditional-complexity
which limits the complexity of boolean expressions inside of your templates. Credits to wKoza.template-cyclomatic-complexity
#514 3221330
template-conditional-complexity
) #508 bb86295
Thanks to @gbilodeau for NoOutputNamedAfterStandardEventRule
and wKoza for the code reviews!
angular-whitespace
related to check-semicolon
and check-interpolation
#469 2ef7438
Thanks to @sagittarius-rev for the bug fixes!
Published by mgechev almost 7 years ago
noOutputOnPrefixRule
and rename it to no-output-on-prefix
. You can now enable it with:"no-output-on-prefix": true
noOutputOnPrefixRule
.Published by mgechev almost 7 years ago
Enable the new rule by adding the following line in your tslint.json
config file:
"no-output-on-prefix-name": true
Thanks to @eromano for the rule implementation!
templates-use-public
, no-access-missing-member
, invoke-injectable
and template-to-ng-template
no longer exist. Remove them from your tslint.json
configuration.