Socket
Socket
Sign inDemoInstall

codelyzer

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codelyzer - npm Package Versions

1
8

3.2.2

Diff

mgechev
published 3.2.1 •

Changelog

Source

3.2.1

Features

  • Support for @angular/compiler@4.4.1 #416 d67f88e

Bug Fixes

mgechev
published 3.2.0 •

Changelog

Source

3.2.0

Features

  • i18n best practices #377 5ef90aa
  • Add a rule which verifies the use of the life cycle methods according to the type of class (Component, Directive, Service,...) #363 6b042f7
  • Friendlier checking of validator directive names #397 28ecbdd

Bug Fixes

  • Error on validating a pipe with @Pipe decorator where we use a shorthand syntax for passing properties #399 8e3fafb
  • Broken check-pipe option of angular-whitespace #365 bef790b
  • Some rules report false positives #379 8719674 4721aca bef790b

Thanks to @wKoza for working on the introduced features, bug fixes and code reviews!

mgechev
published 3.1.2 •

Changelog

Source

3.1.2

Features

  • Ensure whitespaces after semicolon in structural dir #330 25667f9

Thanks to @wKoza for code reviews and implementation of "check-semicolon".

angular-whitespace: [true, "check-semicolon", "check-interpolation", "check-pipe"] - Checks if there's whitespace after semicolon, around an expression surrounded by interpolation characters, and after a pipe symbol.

Bug Fixes

  • Auto fix for check-interpolation part of angularWhitespace is broken #345 0be8563
  • check-pipe should ignore i18n meaning and description | separator #359 5aad7f3
  • check-pipe breaks with ngFor #346 fa08a3b
mgechev
published 3.1.1 •

Changelog

Source

3.1.1

Bug Fixes

  • Incorrect rule name in documentation #344 6656b81
  • Proper displacement in the reports for non-TypeScript files #343 c503510
mgechev
published 3.1.0 •

Changelog

Source

3.1.0

New rules

  • angular-whitespace: [true, "check-interpolation", "check-pipe"] - Checks if there's whitespace around an expression surrounded by interpolation characters, and after a pipe symbol.
  • banana-in-box: true - Checks for proper banana in a box syntax - [(ngModel)] instead of ([ngModel]).
  • templates-no-negated-async: true - Enforces (foo | async) === false, rather than !(foo | async), because of the initial falsy value emitted.
  • use-view-encapsulation: true - Enforces enabled view encapsulation.

Special thanks to @wKoza, @GregOnNet and @connor4312 for their contributions.

Features

  • Align to the template parser API of Angular compiler 4.1.0 #301 0fcdcd1
  • Align to the changes in the template parser API 4.1.3 #319 b608296
  • Rule for enforcing ViewEncapsulation #300 509c8d9. Big thanks to @GregOnNet.
  • Add a no-negated-async rule #332 0f0924d. Big thanks to @connor4312.
  • Enforce proper banana in a box syntax #331 f95b2d5
  • Ensure whitespace around interpolation #320 335776f

Bug Fixes

  • Template micro-syntax closure and 'bind only to public class members' #220 61f9fe9
  • Report warnings when bound to private iterable in *ngFor #306 36705fc
  • 'templates-use-public' throws error when attempting to access a property of a property with the [] syntax #315 6323d2c
  • no-access-missing-member doesn't work with external HTML #311 b608296
  • rules name in documentation aren't consistent #325 7a67607. Big thanks to @wKoza.
  • Our links to angular.io are broken #333 5a532b4. Big thanks to @wKoza.
  • Report errors twice #336 44a9306
mgechev
published 3.0.1 •

Changelog

Source

3.0.1

Bug Fixes

mgechev
published 3.0.0 •

Changelog

Source

3.0.0

Major release required because of the breaking changes introduced by tslint@5. The ngast support will be pushed to codelyzer@4.

Features

  • Support for tslint@5 #281 01bffd5 49b1e80
  • Allow more than one selector kind of directives & components #290 4fa35f6
    "directive-selector": [true, ["attribute", "element"], "sg", "camelCase"],
    "component-selector": [true, ["element", "attribute"], "sg", "kebab-case"],
    
  • Specs for the support of as syntax in expressions #289 a7500cb

Refactoring

  • Rename ng2Walker to ngWalker 01bffd5
  • Refactor selector-related rules to depend on less mutable state 4fa35f6
mgechev
published 2.1.1 •

Changelog

Source

2.1.1

Bug Fixes

  • Breaking change in the TypeScript AST regarding importDestructuringSpacingRule #282 eebf10a
mgechev
published 2.1.0 •

Changelog

Source

2.1.0

Features

  • Automatic removal of dead styles (experimental) #244 30f2667
  • Warning for the deprecated <template> element #280 0d0e81c
  • Rise a warning if given class implements PipeTransform but is not decorated with @Pipe #104 638e72f

Bug Fixes

  • no-unused-css ignores elements with structural directives #249 0aff6b7
  • Improve position to line & character and line & character to position #245 30f2667
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc