Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v5.24.0
5.24.0 (2022-05-16)
Bug Fixes
- eslint-plugin: [array-type] in fixer add missing parens for constructor types #4756 (#4971) (0377070)
- website: missing colon before tip notes in configs.md (#4982) (f3a1aba)
Features
- eslint-plugin: Add BigInt object type to default ban-types list (#4970) (1867728)
- eslint-plugin: add new 'strict' config (#4706) (4a500b2)
v5.23.0
5.23.0 (2022-05-09)
Bug Fixes
- ast-spec: correct
AwaitExpression.argument
type (#4880) (3ec5f53)
- eslint-plugin: [no-restricted-imports] allow type import as long as there's one matching pattern (#4898) (0419d28)
- eslint-plugin: [no-unnecessary-type-constraint] change to suggestion fix, fix multiple trailing comma failures (#4901) (4507ac8)
Features
v5.22.0
5.22.0 (2022-05-02)
Bug Fixes
- eslint-plugin: [comma-spacing] verify
nextToken
exists (#4868) (23746f8)
Features
- ast-spec: add fixture test framework and some initial fixtures (#3258) (f3cf87b)
- eslint-plugin: [no-duplicate-enum-values] add rule (#4833) (5899164)
v5.21.0
5.21.0 (2022-04-25)
Bug Fixes
- eslint-plugin: [no-misused-promises] prioritize false returns when checking whether a function returns only void (#4841) (ccadb60)
- eslint-plugin: [no-namespace] fix false positive for exported namespaces when allowDeclarations=true (#4844) (4e7c9be)
- eslint-plugin: [space-infix-ops] fix no error when right type is function (#4848) (d74d559)
Features
- eslint-plugin: [parameter-properties] add rule to replace
no-parameter-properties
(#4622) (88ed9ec)
v5.20.0
5.20.0 (2022-04-18)
Features
- eslint-plugin: [no-magic-numbers] ignoreTypeIndexes option (#4789) (5e79451)
v5.19.0
5.19.0 (2022-04-11)
Bug Fixes
- eslint-plugin: update code to use estree range instead of ts pos/end #4723 (#4790) (a1e9fc4)
Features
- eslint-plugin: [unified-signatures] add
ignoreDifferentlyNamedParameters
option (#4659) (fdf95e0)
- eslint-plugin: add support for valid number and bigint intersections in restrict-plus-operands rule (#4795) (19c600a)
v5.18.0
5.18.0 (2022-04-04)
Bug Fixes
- eslint-plugin: method-signature-style respect getter signature (#4777) (12dd670)
- visitor-keys: add missing visitor keys (#4731) (bb575a0)
Features
- eslint-plugin: [no-shadow] ignoreOnInitialization option (#4603) (068ea9b)
- eslint-plugin: [no-this-alias] report on assignment expressions (#4718) (8329498)
v5.17.0
5.17.0 (2022-03-28)
Features
- eslint-plugin: [no-unused-vars] add destructuredArrayIgnorePattern options (#4748) (6f8db8b)
v5.16.0
5.16.0 (2022-03-21)
Bug Fixes
- eslint-plugin: [consistent-type-assertions] enforce assertionStyle for
const
assertions (#4685) (8ec05be)
- scope-manager: incorrect reference for this within a jsx identifier (#4535) (dd49280)
- utils: RuleTester: Only call afterAll if defined (#4656) (0fe0683)
Features
- eslint-plugin: [prefer-optional-chain] support logical with empty object (#4430) (d21cfe0)
v5.15.0
5.15.0 (2022-03-14)
Features
- parser: add
parserOptions.emitDecoratorMetadata
(#4646) (e3dd343)