Skip to content

Releases: mgechev/codelyzer

3.0.0-beta.2

06 Mar 02:29
Compare
Choose a tag to compare

Bug Fixes

  • Update peerDependency ngast to version ^0.0.4 #257 30e921a.

3.0.0-beta.1

06 Mar 00:43
Compare
Choose a tag to compare

Features

  • Deep metadata collection with ngast ✨ 🎆 ✨ #217 de13ceb
  • Built-in support for template references.

Bug Fixes

  • Access to inline template objects results in "no-access-missing-member" rule being triggerred #231 d10e980
  • no-access-missing-member and async pipe #190 de13ceb

3.0.0-beta.0

26 Feb 01:27
Compare
Choose a tag to compare

Breaking Changes

  • Remove importDestructuringSpacing.
  • no-access-missing-member, use-life-cycle-interface and template-use-public require type checking which means that tslint should be run with the corresponding options

The rules should now be run as follows:

$ tslint --type-check --project src/client/tsconfig.json

Features

  • no-access-missing-member support for inheritance #191 2901718
  • use-life-cycle-interface support for inheritance #64 d0d7138
  • template-use-public support for inheritance #240 2e285e2

2.0.1

19 Feb 22:16
Compare
Choose a tag to compare

Features

Bug Fixes

  • Fix semantic error when declaration's generation is enabled #221 c694405
  • Inconsistent links to the style guide sections #233 c9e87f6

2.0.0

07 Feb 23:20
Compare
Choose a tag to compare

Bug Fixes

  • The rule for binding to publich members breaks for readonly properties #206 cc3ed9a
  • Add checks for ngIf and ngSwitch #193 0118b56
  • Support for tslint@^4.3.1 (4.3.0 was broken) 3e7edfa
  • Support for Angular 4 #214 4d79933

Refactoring

  • Refactoring readTemplate and readStyle to use Maybe<T> 373b152

2.0.0-beta.2

10 Dec 18:57
Compare
Choose a tag to compare

Features

Bug Fixes

2.0.0-beta.1

29 Nov 22:18
Compare
Choose a tag to compare

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

1.0.0-beta.4

18 Nov 01:33
Compare
Choose a tag to compare

Bug Fixes

  • Migrate to the compiler API changes introduced by Angular 2.2.