Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Releases: bradzacher/eslint-plugin-typescript

1.0.0-rc.3

15 Jan 23:49
162fddc
Compare
Choose a tag to compare
1.0.0-rc.3 Pre-release
Pre-release
  • c9d2227 [FIX] [no-this-alias] prevent crashes from declare statements (#282)

1.0.0-rc.2

09 Jan 01:07
4245290
Compare
Choose a tag to compare
1.0.0-rc.2 Pre-release
Pre-release
  • 52fa7c5 [FIX] [indent] add handling for TSTypeReference (#273)
  • f612bdf [FIX] [indent] Add more indent cases + tests (#274)

1.0.0-rc.1

02 Jan 16:50
867df2e
Compare
Choose a tag to compare
1.0.0-rc.1 Pre-release
Pre-release
  • 4d85404 [FIX] Correct recommended warning rules (#263)
  • 012b6e6 [DEPS] Make TypeScript a peerDependency (#265)

1.0.0-rc.0

22 Dec 20:17
7765028
Compare
Choose a tag to compare
1.0.0-rc.0 Pre-release
Pre-release

Migrating to 1.0.0

  1. Update your config to use our exported parser:
 {
-    "parser": "typescript-eslint-parser",
+    "parser": "eslint-plugin-typescript/parser",
     "plugins": ["typescript"]
 }

This will allow us to control the version of the parser that you use. This saves you having to manage a dependency, and means you can't accidentally install an unsupported version.

  1. remove your direct dependency on the parser:
$ yarn remove typescript-eslint-parser
$ npm uninstall typescript-eslint-parser
  1. read the docs and update rule config for the following changed rules:

  2. add config for the following new rules:

  3. switch to our new base rule extensions:

  4. review the rules with fixes in case you disabled them due to bugs:

    • class-name-casing
    • member-delimiter-style
    • no-namespace
    • no-triple-slash-reference
    • no-unused-vars
    • no-use-before-define
    • prefer-namespace-keyword
  5. Consider using our new recommended preset!

{
    "extends": ["plugin:typescript/recommended"]
}

Changes

  • 096e8ba [DEPS] Export parser as a dependency of the plugin (#186)
  • 576b1aa [FIX] [class-name-casing] handling of TSAbstractClassDeclaration (#187)
  • ddf2d42 [FIX] [camelcase] false positives on interface properties (#183)
  • ea418ac [FIX] [prefer-namespace-keyword] declare module without body (#195)
  • 4e10d6a [DEPS][BREAKING] Migrate typescript-eslint-parser to 21.0.2 (#174)
  • f89e02f [FEAT] [ban-types] Add rule (#181)
  • 2c21510 [FIX] [no-use-before-define] cleanup logic (#202)
  • ecf9cb0 [FEAT][BREAKING][1/2][member-delimiter-style] Better handling for single line (#203)
  • 1acefaa [FEAT][BREAKING][2/2][member-delimiter-style] Separate single/multilne config (#206)
  • b5c363b [FIX] [no-namespace] allow global augmentation (#208)
  • 04d5879 [FEAT] [array-type] Add rule (#211)
  • 19c4ff1 [FEAT] [no-misused-new] Add rule (#222)
  • 1a97263 [FEAT] [no-object-literal-type-assertion] Add rule (#225)
  • 2df5460 [FIX] [no-triple-slash-reference] fix false positives (#226)
  • 6425696 [FEAT] [prefer-interface] Add rule (#238)
  • ae50541 [FIX] [no-unused-vars] add EnumMember (#236)
  • 67a00bc [FEAT] [no-extraneous-class] Add rule (#234)
  • 84808c1 [FEAT] [indent] Extend the base rule to support TS nodes (#219)
  • 0d6794d [FEAT] [no-this-alias] Add rule (#232)
  • a3b0a73 [FIX] [no-namespace] Refactor rule (#257)
  • 1085a6b [BREAKING] [no-type-alias] simplify config (#259)
  • 787d5e3 [FEAT] [BREAKING] [no-unused-vars] remove implicit dependency on base rule (#260)
  • 2087aac [FEAT] Recommended config (#261)

0.14.0

04 Dec 16:43
150f582
Compare
Choose a tag to compare
  • [FIX] [no-unused-vars] Type param constraint & Support defaults. (#163)
  • [FIX] [no-unused-vars] address more false positives (#153)
  • [DEPS] Upgrade typescript-eslint-parser to 17.0.1 (#169)
  • [FIX] [no-unused-vars] assume constructor parameter args are used (#173)
  • [FIX] [no-use-before-define] fix top level scope handling (#175)