Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v5.47.1
v5.47.0
v5.46.1
v5.46.0
v5.45.1
5.45.1 (2022-12-05)
Bug Fixes
- eslint-plugin: [keyword-spacing] unexpected space before/after in
import type
(#6095) (98caa92) - eslint-plugin: [no-shadow] add call and method signatures to
ignoreFunctionTypeParameterNameValueShadow
(#6129) (9d58b6b) - eslint-plugin: [prefer-optional-chain] collect MetaProperty type (#6083) (d7114d3)
- eslint-plugin: [sort-type-constituents, sort-type-union-intersection-members] handle some required parentheses cases in the fixer (#6118) (5d49d5d)
- parser: remove the jsx option requirement for automatic jsx pragma resolution (#6134) (e777f5e)
v5.45.0
5.45.0 (2022-11-28)
Bug Fixes
- eslint-plugin: [array-type] --fix flag removes parentheses from type (#5997) (42b33af)
- eslint-plugin: [keyword-spacing] prevent crash on no options (#6073) (1f19998)
- eslint-plugin: [member-ordering] support private fields (#5859) (f02761a)
- eslint-plugin: [prefer-readonly] report if a member's property is reassigned (#6043) (6e079eb)
- scope-manager: add support for TS4.9 satisfies expression (#6059) (44027db)
- typescript-estree: stub out
ts.SatisfiesExpression
on old TS versions (#6076) (1302b30)
Features
v5.44.0
5.44.0 (2022-11-21)
Bug Fixes
- eslint-plugin: [no-empty-interface] disable autofix for declaration merging with class (#5920) (a4f85b8)
- eslint-plugin: [no-unnecessary-condition] handle index signature type (#5912) (5baad08)
- eslint-plugin: [prefer-optional-chain] handle binary expressions in negated or (#5992) (2778ff0)
- typescript-estree: don't consider a cached program unless it's specified in the current
parserOptions.project
config (#5999) (530e0e6)
Features
v5.43.0
5.43.0 (2022-11-14)
Bug Fixes
- eslint-plugin: [no-shadow] handle false positives on generics and parameters (#5902) (769e8c8)
- eslint-plugin: [promise-function-async] handle keyword token (#5907) (f25a94f)
Features
- eslint-plugin: [consistent-type-imports] support fixing to inline types (#5050) (75dcdf1)
- eslint-plugin: [naming-convention] add support for "override" and "async" modifiers (#5310) (#5610) (c759da1)
- eslint-plugin: [prefer-optional-chain] support suggesting
!foo || !foo.bar
as a valid match for the rule (#5594) (923d486)
v5.42.1
v5.42.0
5.42.0 (2022-10-31)
Bug Fixes
- ast-spec: add TSQualifiedName to TypeNode union (#5906) (5c316c1)
- eslint-plugin: [no-extra-parens] handle type assertion in extends clause (#5901) (8ed7219)
- typescript-estree: don't allow single-run unless we're in type-aware linting mode (#5893) (891b087)
Features
- eslint-plugin: [member-ordering] add natural sort order (#5662) (1eaae09)
- eslint-plugin: [no-invalid-void-type] better report message for void used as a constituent inside a function return type (#5274) (d806bda)
- typescript-estree: clarify docs and error for program project without matching TSConfig (#5762) (67744db)
- utils: add
RuleTester
API for top-level dependency constraints (#5896) (0520d53)