Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v4.28.1
4.28.1 (2021-06-28)
Note: Version bump only for package @typescript-eslint/typescript-eslint
v4.28.0
4.28.0 (2021-06-21)
Bug Fixes
- eslint-plugin: [prefer-regexp-exec] factor in union types (#3434) (ac86a79)
- experimental-utils: expand
RuleTester
config properties (#3557) (ffbb3cf)
- experimental-utils: fix
eslint-utils
' negative predicates' return types (#3462) (1e6016b)
- experimental-utils: fix
eslint-utils
' negative predicates' return types in ast-utils
(#3461) (614b0a3)
- experimental-utils: make keys for
ReferenceTracker
options optional (#3531) (a7fd7bb)
Features
- experimental-utils: add
only
property to RuleTester
types (#3555) (2a36e3e)
- experimental-utils: expose ReferenceTracker.ESM (#3532) (4ac67c4)
- experimental-utils: use mergable interface for
settings
property (#3556) (abfc19b)
v4.27.0
4.27.0 (2021-06-14)
Bug Fixes
- eslint-plugin: allow explicit any for no-unsafe-return (#3498) (b15a2b2)
- typescript-estree: allow providing more one than one existing program in config (#3508) (4f1806e)
- typescript-estree: support override modifier for parameter property (#3485) (33b9f69)
Features
- ast-spec: specify
LogicalExpression
's operator
type (#3497) (9e343fd)
- ast-spec: specify
PunctuatorToken
's value
type (#3496) (fdb1d81)
- eslint-plugin: [prefer-literal-enum-member] add allowBitwiseExpressions option (#3515) (288092a)
- typescript-estree: add opt-in inference for single runs and create programs for projects up front (#3512) (06c2d9b)
- allow user to provide TS program instance in parser options (#3484) (e855b18)
Single-Run Detection
See the explanation for how to opt-in to this feature and how to provide feedback in this issue: #3528
v4.26.1
4.26.1 (2021-06-07)
Bug Fixes
- eslint-plugin: [prefer-includes] ignore option chaining before indexOfs (#3432) (bf0cddb)
- eslint-plugin: fix doc url generation (#3475) (fc5f171), closes #3473
v4.26.0
4.26.0 (2021-05-31)
Bug Fixes
- eslint-plugin: [no-type-alias] consider type imports as alias types (#3433) (d4f0774)
- generate library types for TypeScript v4.3 (#3460) (ed4776a), closes #3449
Features
- eslint-plugin: [member-ordering] add callback as an ordering type of node (#3354) (d134b1f)
- eslint-plugin: [space-infix-ops] Add support for Union and intersection of type declarations (#3360) (3d29323)
- scope-manager: reduce generated lib file size (#3468) (258116b)
v4.25.0
4.25.0 (2021-05-24)
Bug Fixes
- corrected no-unsupported-browser-code in roadmap as unimplemented (#3407) (2319b0e)
- experimental-utils: fix
isAwaitKeyword
predicate in ast-utils (#3290) (c15da67)
Features
- typescript-estree: [TS4.3] support overrides on class members (#3429) (21d1b62)
- typescript-estree: add support for getter/setter signatures on types (#3427) (b830b7f), closes #3272 #3272
v4.24.0
4.24.0 (2021-05-17)
Bug Fixes
- eslint-plugin: [no-shadow] fix static class method generics shadowing class generics (#3393) (b1e1c8a), closes #2592
- eslint-plugin: [no-unsafe-*] special case handling for the empty map constructor with no generics (#3394) (cae4f4a), closes #2109
Features
- eslint-plugin: [dot-notation] optionally allow square bracket notation where an index signature exists in conjunction with
noPropertyAccessFromIndexSignature
(#3361) (37ec2c2)
v4.23.0
4.23.0 (2021-05-10)
Bug Fixes
- scope-manager: fix visiting TSAsExpression in assignment (#3355) (87521a0)
Features
- experimental-utils: Include
getCwd()
in RuleContext
type (#3308) (2b75c11)
- refactor to split AST specification out as its own module (#2911) (25ea953)
v4.22.1
4.22.1 (2021-05-04)
Note: Version bump only for package @typescript-eslint/typescript-eslint
v4.22.0
4.22.0 (2021-04-12)
Bug Fixes
- eslint-plugin: [no-unsafe-argument] handle tuple types on rest arguments (#3269) (6f8cfe6)
Features
- eslint-plugin: [prefer-regexp-exec] add autofix (#3207) (e2cbeef)