Skip to content

Releases: ajafff/tslint-consistent-codestyle

v1.12.2

21 Mar 10:10
Compare
Choose a tag to compare
  • no-unnecessary-type-annotation: fix infinite loop on union with generic signature (#57)

v1.12.1

18 Mar 15:42
Compare
Choose a tag to compare

Bugfixes:

  • no-unnecessary-type-annotations now recognizes IIFEs that look like (function(param: string) {}('parameter'));

v1.12.0

09 Mar 22:23
Compare
Choose a tag to compare

Features:

This package now provides all rules for the Wotan linter runtime as well.
Example .wotanrc.yaml:

extends:
  - tslint-consistent-codestyle # makes rules from the package available with the 'tcc/' prefix
rules: # now configure the rules you want to use, remember to use the 'tcc/' prefix
  tcc/no-collapsible-if: error
  tcc/no-unused:
    options: 'ignore-parameters'

v1.11.1

05 Mar 08:55
Compare
Choose a tag to compare

Bugfixes:

  • ext-curly: handle LabeledStatement as if it was not present

v1.11.0

03 Dec 10:35
Compare
Choose a tag to compare

Non-breaking rule changes: (you might want to amend your configuration to make the rules stricter again)

  • naming-convention: Format options "camelCase" and "PascalCase" now allow adjacent uppercase characters to make it usable for real-world code. Use the new options "strictCamelCase" and "StrictPascalCase" to restore the old strict behavior.
  • no-unnecessary-type-annotation: disabled checking return type annotations by default as these cause the most false positves. You can enable the check with the new option "check-return-type".

Bugfixes:

  • naming-convention: fixed a bug where the suffix was not correctly removed from the name when using an array of suffixes.

Features:

  • naming-convention: added new type "functionVariable".
    • It matches all variables initialized with an arrow function or function expression.
    • It inherits configuration from "variable"

v1.10.2

29 Nov 13:37
Compare
Choose a tag to compare

Bugfixes:

  • no-accessor-recursion fixed crash on abstract accessor

v1.10.1

22 Nov 21:04
Compare
Choose a tag to compare

Bugfixes:

  • no-unused added special handling for React implicitly used by JSX