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

2.0.0-beta.1

Diff

Changelog

Source

2.0.0-beta.1

Breaking Changes

  • The rules directive-selector-name, component-selector-name, directive-selector-type, component-selector-type, component-selector-prefix, directive-selector-prefix no longer exist. Instead use:

    // The rule have the following arguments:
    // [ENABLED, "attribute" | "element", "selectorPrefix" | ["listOfPrefixes"], "camelCase" | "kebab-case"]
    "directive-selector": [true, "attribute", "sg", "camelCase"],
    "component-selector": [true, "element", "sg", "kebab-case"],
    

Features

  • External template support via command line interface. Note that the VSCode tslint plugin cannot report warnings in CSS and HTML files yet #94 67d5a07
  • Support for custom hooks for transpilation of languages which transpile to HTML, CSS #164 1ca7068
  • Source map support. You can have pug templates and get error reporting in the correct position if inside of the hook you return not only the transpiled version of the template but also the source map 1ca7068
  • Optional configuration file .codelyzer.js which should be located in the root of your project (the directory where node_modules is) 1ca7068
  • Support for tslint ^4.0.0 #157 8c5dbf6
  • Improve no-unused-css 0a9d9014

Bug Fixes

  • Do not throw error when validating @Pipes without metadata #111 eb6ccc0d
  • Use proper syntax types for TypeScript 2.1.x #145 d49cc26
  • More consistent naming for selector-related rules #79 3373dff
  • Support for templateRefs #151 52ba382
  • Support for properties declared inline into the constructor #153 23fe633
  • Report missing styles in the correct position #166 e9575fb
  • Proper selector prefix matching #103 7285121
  • Selectors compatible with the spec #15 3373dffe
mgechev
published 2.0.0-beta.0 •

mgechev
published 1.0.0-beta.4 •

Changelog

Source

1.0.0-beta.4

Bug Fixes

  • Migrate to the compiler API changes introduced by Angular 2.2 #152 fe3083b
mgechev
published 1.0.0-beta.3 •

Changelog

Source

1.0.0-beta.3

Features

  • Introduce support for unused CSS styles in components.

Bug Fixes

  • Migrate to API changes introduced by Angular 2.1.1 #128 787ff3b.
  • Do not consider $event as non-declared variable #129 8751184.
  • Consider template variables such as let foo of bars #123 cbd86e1.
  • Consider getters and setters when listing all the declared in controller symbols #118 6060ce0.
mgechev
published 1.0.0-beta.2 •

Changelog

Source

1.0.0-beta.2

Bug Fixes

  • Migrate to the compiler API changes introduced by Angular 2.1.
mgechev
published 1.0.0-beta.1 •

Changelog

Source

1.0.0-beta.1

Features

Bug Fixes

  • Do not process webpack dynamically injected templates #106 ff2dc85.
  • Do not process @Component decorators which are not invoked as expressions #110 5ee2422
  • Preserve the original interpolation expression #99 5ee2422.
  • Consider both property access and method invocation when deciding if property is used or not #97 da15305.
  • Migrate to the changes introduced by Angular 2.0.2 #107 06483ce.
mgechev
published 1.0.0-beta.0 •

Changelog

Source

1.0.0-beta.0

Features

  • Linting over inline templates #90 4347d09.
  • Use Injectable() instead of Injectable #70 c84df93.
  • Show warning when binding to non-public class members #87 c849808.
  • Support for TypeScript 2.1.0 #72 a002661.

Bug Fixes

  • On non-implemented life-cycle hook/PipeTransform interface, mark only the corresponding method #89 a9104b2.
  • Do not throw error when interface is implemented but under a namespace #91 a9104b2.

Refactoring

  • Migrate from typings to @types f9cc498.
mgechev
published 0.0.28 •

mgechev
published 0.0.27 •

mgechev
published 0.0.26 •

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