Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: mgechev/codelyzer

5.1.0

Choose a tag to compare

@mgechev mgechev released this 02 Jun 12:44

Bug Fixes

  • rule: 'contextual-decorator' - decorators with arguments, accessors and some missing decorators not being handled (#798) (efbcb69)
  • rule: template-banana-in-box regex failing in some environments (#820) (3b82574)

Features

  • rule: add use-injectable-provided-in (#814) (656816f)

5.0.1

Choose a tag to compare

@mgechev mgechev released this 25 Apr 23:46

Bug Fixes

  • rule: detect trackBy function when ngFor spans multiple lines (#813) (2260dfd)
  • rule: template-accessibility-label-for not recognizing options and interpolated values (#812) (1fb5d8a)

5.0.0

Choose a tag to compare

@mgechev mgechev released this 27 Mar 19:16

🙇🏼‍♂️ Thanks to @rafaelss95, @mohammedzamakhan, @wKoza, @mgechev

BREAKING CHANGES

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

Bug Fixes

  • rule: template-no-call-expression should allow $any usages (#735) (a75c204)
  • rule: no-input-rename reporting some failures incorrectly (#723) (f692dcb)
  • rule: prefer-inline-decorator should not set a max number of options (#787) (31b2b6a)
  • rule: add template-accessibility-elements-content to index.ts (#803) (1e8cbbf), closes #801
  • update peerDependencies (d5bfbd5)

Features

  • rule: add component-change-detection (#737) (a23ccde), closes #135
  • rule: add relative-url-prefix (#725) (f12f27b)
  • rule: add template-accessibility-alt-text (#741) (0815ec5)
  • rule: add template-accessibility-elements-content (#742) (6ff8c56)
  • rule: add template-accessibility-label-for (#739) (76c24fa)
  • rule: add template-accessibility-tabindex-no-positive (#744) (43902f7)
  • rule: add template-accessibility-table-scope (#743) (2832615)
  • rule: add template-accessibility-valid-aria (#746) (762f67f)
  • rule: add template-click-events-have-key-events (#761) (b0b330f)
  • rule: add template-mouse-events-have-key-events (#759) (3a7b15d)
  • rule: add template-no-autofocus (#749) (799382f)
  • rule: add template-no-distracting-elements (#760) (6b21a9e)
  • rule: add template-no-any (#755) (77a5e32)
  • add support for svg templates (#800) (dadf8ec)
    This release contains many breaking changes due to the rename of several rules (see more at (bbf7a32)). Currently, there's an open PR (angular/angular-cli#13801) that will help migrate your app if you are affected by these changes.

5.0.0-beta.2

5.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@mgechev mgechev released this 25 Mar 00:45
bd2a7a8
docs: update changelog

5.0.0-beta.1

5.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@mgechev mgechev released this 14 Mar 20:30

Bug fixes

  • update peerDependencies (d5bfbd5)

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

5.0.0-beta.0

5.0.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@mgechev mgechev released this 12 Mar 19:22

Bug Fixes

  • allow-template-call-expression: allow $any in expressions (#735) (a75c204)
  • no-input-rename: some failures being reported incorrectly (#723) (f692dcb)
  • rule: don't check keyup events for some elements (#772) (a9c4ae9)
  • rule: 'prefer-inline-decorator' limiting the number of options (#787) (31b2b6a)
  • rule: fix spelling error (#753) (512a5bd)
  • rule: remove an astray console.log (#764) (fdcb07a)

Features

  • component-change-detection: add change detection strategy rule (#737) (a23ccde), closes #135
  • rule: accessibility rule for alt text (#741) (0815ec5)
  • rule: add new Rule RelativePathExternalResourcesRule (#725) (f12f27b)
  • rule: anchor element should have content (#742) (6ff8c56)
  • rule: autofocus attribute should not be used (#749) (799382f)
  • rule: click event should be accompanied with key event (#761) (b0b330f)
  • rule: heading and anchor elements should have content (#762) (865ec3b)
  • rule: label accessibility - should have associated control (#739) (76c24fa)
  • rule: mouse events should accompany key events (#759) (3a7b15d)
  • rule: no distracting elements should be used (#760) (6b21a9e)
  • rule: only th element can have scope (#743) (2832615)
  • add template-no-any rule (#755) (77a5e32)
  • rule: tabindex should not be positive (#744) (43902f7)
  • rule: use valid aria rules (#746) (762f67f)

4.5.0

Choose a tag to compare

@mgechev mgechev released this 12 Mar 19:22
edc110d

Bug Fixes

  • assertFailure catch exception throw by assert (#703) (#704) (0bac287)
  • no-unused-css: blank lines being left after fixing (#701) (c69e2ae)

4.4.4

Choose a tag to compare

@mgechev mgechev released this 13 Aug 22:15
7f0fe0e

Bug Fixes

  • errors not being displayed in the correct files (#700) (db3cf5a)

4.4.3

Choose a tag to compare

@mgechev mgechev released this 13 Aug 22:15
a595f16

Bug Fixes

  • url not passed to transformStyle when using styleUrls (#686) (5a84041)
  • templates-no-negated-async: not reporting failures for some cases (#694) (2ffe2ea)

4.4.2

Choose a tag to compare

@mgechev mgechev released this 25 Jun 07:58

Bug Fixes

  • no-output-on-prefix: fix regular expression (#674) (adc974a)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.