Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v4.31.0
4.31.0 (2021-09-06)
Bug Fixes
- ast-spec: remove duplicate union types from
Expression
(#3770) (463e768) - utils: support immutable arrays in
ReportFixFunction
(#3830) (8218055)
Features
- eslint-plugin: [prefer-readonly-parameter-types] add option treatMethodsAsReadonly (#3733) (a46e318)
- eslint-plugin: [restrict-template-expressions] add option to allow RegExp (#3709) (363b3dc)
- eslint-plugin: add
no-meaningless-void-operator
rule (#3641) (ea40ab6) - eslint-plugin: add extension rule
padding-line-between-statements
(#3418) (f79ae9b) - experimental-utils: extract
isNodeOfType
out ofast-utils
'predicates
(#3677) (4bfa437)
v4.30.0
4.30.0 (2021-08-30)
Bug Fixes
- eslint-plugin: [dot-notation] false positive with optional chaining (#3711) (c19fc6e), closes #3510
- eslint-plugin: [prefer-reduce-type-parameter] handle already existing type params (#3706) (71dd273)
- eslint-plugin: isTypeReadonly error with <TS3.7 (#3731) (5696407)
- visitor-keys: add key to StaticBlock (v5) (#3812) (fa35e22)
Features
v4.29.3
v4.29.2
v4.29.1
v4.29.0
4.29.0 (2021-08-02)
Bug Fixes
- eslint-plugin: [no-implied-eval] handle bind on nested member expressions (#3598) (f5a6806)
- eslint-plugin: [no-implied-eval] permit more expression types (#3624) (ca7c549)
- eslint-plugin: [no-unnecessary-boolean-literal-compare] incorrect fix when condition is reversed (#3581) (b595575)
- eslint-plugin: [return-await] handle nested functions correctly (#3601) (4a196b5)
- eslint-plugin: [return-await] properly handle fixes for
TSAsExpression
(#3631) (00a4369) - experimental-utils: simplify
eslint-utils
'findVariable
's signature inast-utils
(#3574) (3ef5267) - typescript-estree: correct tty check (#3635) (62bcc93)
- typescript-estree: ensure --fix works with singleRun mode (#3655) (99eca0d)
Features
- ast-spec: extract
ExportKind
&ImportKind
(#3564) (120d566) - ast-spec: make
BaseNode
&BaseToken
more type-safe (#3560) (a6c5604) - eslint-plugin: [no-redeclare] ignoreDeclarationMerge of enum+namespace (#3572) (18e30cb)
- eslint-plugin: [prefer-return-this-type] add a new rule (#3228) (5e1a615)
- eslint-plugin: Catch unused React import with new JSX transform (#3577) (02998ea)
- typescript-estree: add support for custom module resolution (#3516) (d48429d)