This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
Releases: bradzacher/eslint-plugin-typescript
Releases · bradzacher/eslint-plugin-typescript
1.0.0-rc.3
1.0.0-rc.2
1.0.0-rc.1
1.0.0-rc.0
Migrating to 1.0.0
- 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.
- remove your direct dependency on the parser:
$ yarn remove typescript-eslint-parser
$ npm uninstall typescript-eslint-parser
-
read the docs and update rule config for the following changed rules:
- BREAKING member-delimiter-style
- BREAKING no-type-alias
- BREAKING no-unused-vars
-
add config for the following new rules:
-
switch to our new base rule extensions:
-
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
-
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
- [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)