chore(deps): update typescript-eslint monorepo to v5 (major)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@typescript-eslint/eslint-plugin | devDependencies | major | ^4.6.1 -> ^5.0.0 |
@typescript-eslint/parser | devDependencies | major | ^4.6.1 -> ^5.0.0 |
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v5.37.0
Bug Fixes
- eslint-plugin: [strict-boolean-expressions] check all conditions in a logical operator chain (#5539) (77d76e2)
5.36.2 (2022-09-05)
Bug Fixes
- eslint-plugin: [no-extra-parens] handle generic ts array type. (#5550) (0d6a190)
- scope-manager: correct handling for class static blocks (#5580) (35bb8dd)
5.36.1 (2022-08-30)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.36.2
Bug Fixes
- eslint-plugin: [no-extra-parens] handle generic ts array type. (#5550) (0d6a190)
- scope-manager: correct handling for class static blocks (#5580) (35bb8dd)
v5.36.1
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.36.0
Bug Fixes
Features
5.35.1 (2022-08-24)
Bug Fixes
v5.35.1
Bug Fixes
v5.35.0
Features
- eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#5492) (0edb94a)
v5.34.0
Bug Fixes
Features
-
eslint-plugin: [prefer-optional-chain] support suggesting
!foo || !foo.bar
as a valid match for the rule (#5266) (aca935c)
5.33.1 (2022-08-15)
Bug Fixes
- missing placeholders in violation messages for
no-unnecessary-type-constraint
andno-unsafe-argument
(and enableeslint-plugin/recommended
rules internally) (#5453) (d023910)
v5.33.1
Bug Fixes
- missing placeholders in violation messages for
no-unnecessary-type-constraint
andno-unsafe-argument
(and enableeslint-plugin/recommended
rules internally) (#5453) (d023910)
v5.33.0
Bug Fixes
- eslint-plugin: [no-extra-parens] handle await with type assertion (#5428) (e03826f)
- website: add explicit frontmatter description to rule docs (#5429) (63cba5f)
Features
- eslint-plugin: [member-ordering] support static blocks (#5417) (5983e5a)
- eslint-plugin: [prefer-as-const] adds support for class properties (#5413) (d2394f8)
v5.32.0
Features
v5.31.0
Bug Fixes
- eslint-plugin: [typedef] Support nested array destructuring with type annotation (#5311) (6d19efe)
- scope-manager: handle typeParameters of TSInstantiationExpression (#5355) (2595ccf)
Features
- eslint-plugin: [consistent-generic-ctors] check class field declaration (#5288) (48f996e)
- eslint-plugin: [prefer-nullish-coalescing] add ignoreTernaryTests option (#4965) (f82727f)
5.30.7 (2022-07-18)
Bug Fixes
- eslint-plugin: [no-inferrable] fix optional param to valid code (#5342) (98f6d5e)
- eslint-plugin: [no-unused-vars] highlight last write reference (#5267) (c3f199a)
5.30.6 (2022-07-11)
Note: Version bump only for package @typescript-eslint/eslint-plugin
5.30.5 (2022-07-04)
Bug Fixes
- eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value (#5280) (57f032c)
5.30.4 (2022-07-03)
Note: Version bump only for package @typescript-eslint/eslint-plugin
5.30.3 (2022-07-01)
Note: Version bump only for package @typescript-eslint/eslint-plugin
5.30.2 (2022-07-01)
Note: Version bump only for package @typescript-eslint/eslint-plugin
5.30.1 (2022-07-01)
Bug Fixes
v5.30.7
Bug Fixes
- eslint-plugin: [no-inferrable] fix optional param to valid code (#5342) (98f6d5e)
- eslint-plugin: [no-unused-vars] highlight last write reference (#5267) (c3f199a)
v5.30.6
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.30.5
Bug Fixes
- eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value (#5280) (57f032c)
v5.30.4
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.30.3
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.30.2
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.30.1
Bug Fixes
v5.30.0
Features
- eslint-plugin: [no-shadow] add shadowed variable location to the error message (#5183) (8ca08e9)
- treat
this
intypeof this
as aThisExpression
(#4382) (b04b2ce)
v5.29.0
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.28.0
Bug Fixes
- [TS4.7] allow visiting of typeParameters in TSTypeQuery (#5166) (dc1f930)
- eslint-plugin: [space-infix-ops] support for optional property without type (#5155) (1f25daf)
Features
5.27.1 (2022-06-06)
Bug Fixes
- eslint-plugin: [space-infix-ops] correct PropertyDefinition with typeAnnotation (#5113) (d320174)
- eslint-plugin: [space-infix-ops] regression fix for conditional types (#5135) (e5238c8)
- eslint-plugin: [space-infix-ops] regression fix for type aliases (#5138) (4e13deb)
v5.27.1
Bug Fixes
- eslint-plugin: [space-infix-ops] correct PropertyDefinition with typeAnnotation (#5113) (d320174)
- eslint-plugin: [space-infix-ops] regression fix for conditional types (#5135) (e5238c8)
- eslint-plugin: [space-infix-ops] regression fix for type aliases (#5138) (4e13deb)
v5.27.0
Bug Fixes
Features
- [4.7] support new extensions (#5027) (efc147b)
- eslint-plugin: [ban-ts-comment] add descriptionFormat option (#5026) (1fb31a4)
- eslint-plugin: [no-misused-promises] warn when spreading promises (#5053) (61ffa9e)
- eslint-plugin: [space-infix-ops] missing error report for conditional types (#5041) (0bfab6c)
v5.26.0
Bug Fixes
-
eslint-plugin: [member-delimiter-style] autofixer result is not as expected when comments after the delimiter with option
delimiter: 'none'
(#5029) (ed7b5f6) -
eslint-plugin: [member-delimiter-style] autofixer result is not as expected with option
delimiter: 'none'
(#5023) (9e97a11) - eslint-plugin: [prefer-readonly] correct issue with anonymus functions (#4974) (952e2f0), closes #2590
v5.25.0
Bug Fixes
- eslint-plugin: [typedef] stop enforcing rule for assignment expressions (#4958) (04a216c)
- eslint-plugin: strict config should not extend recommended (#5005) (05d71c2)
- website: correct Presets link to be Configs (#5004) (e18e91c)
Features
- eslint-plugin: [no-empty-function] new allow option overrideMethods (#4923) (13c05ae)
-
eslint-plugin: deprecate
no-duplicate-imports
in favour ofimport/no-duplicates
(#4973) (1d2e41a) - update to TypeScript 4.7-rc (#4829) (6fe783c)
v5.24.0
Bug Fixes
- eslint-plugin: [array-type] in fixer add missing parens for constructor types #4756 (#4971) (0377070)
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
Bug Fixes
- 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)
v5.22.0
Bug Fixes
Features
v5.21.0
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
Features
v5.19.0
Bug Fixes
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
Bug Fixes
Features
- eslint-plugin: [no-shadow] ignoreOnInitialization option (#4603) (068ea9b)
- eslint-plugin: [no-this-alias] report on assignment expressions (#4718) (8329498)
v5.17.0
Features
v5.16.0
Bug Fixes
-
eslint-plugin: [consistent-type-assertions] enforce assertionStyle for
const
assertions (#4685) (8ec05be)
Features
v5.15.0
Features
v5.14.0
Bug Fixes
- eslint-plugin: [naming-convention] cover case that requires quotes (#4582) (3ea0947)
- eslint-plugin: [no-misused-promises] factor thenable returning function overload signatures (#4620) (56a09e9)
- eslint-plugin: [prefer-readonly-parameter-types] handle class sharp private field and member without throwing error (#4343) (a65713a)
- eslint-plugin: [return-await] correct autofixer in binary expression (#4401) (5fa2fad)
Features
-
eslint-plugin: [no-misused-promises] add granular options within
checksVoidReturns
(#4623) (1085177)
v5.13.0
Bug Fixes
- eslint-plugin: [sort-type-union-intersection-members] Wrap the constructorType in parentheses (#4590) (851bb90)
Features
- eslint-plugin: [no-misused-promises] check more places for checksVoidReturn (#4541) (052cf51)
-
eslint-plugin: add
no-redundant-type-constituents
rule (#4378) (63d051e) -
eslint-plugin: add
no-useless-empty-export
rule (#4380) (823b945) -
eslint-plugin: add extension rule
space-before-blocks
(#1606) (#4184) (208b6d0) - eslint-plugin: added member group support to member-ordering rule (#4538) (6afcaea)
5.12.1 (2022-02-21)
Bug Fixes
v5.12.1
Bug Fixes
v5.12.0
Bug Fixes
- eslint-plugin: [init-declarations] fix nested namespace (#4544) (fe910e6)
- eslint-plugin: [no-unnecessary-type-arguments] Use Symbol to check if it's the same type (#4543) (5b7d8df)
- support nested object deconstructuring with type annotation (#4548) (4da9278)
Features
v5.11.0
Bug Fixes
- eslint-plugin: [no-magic-numbers] fix invalid schema merging (#4517) (b95f796)
- eslint-plugin: [non-nullable-type-assertion-style] fix false positive when asserting to a generic type that might be nullish (#4509) (4209362)
Features
5.10.2 (2022-01-31)
Bug Fixes
- eslint-plugin: [no-restricted-imports] allow relative type imports with patterns configured (#4494) (4a6d217)
5.10.1 (2022-01-24)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.10.2
Bug Fixes
- eslint-plugin: [no-restricted-imports] allow relative type imports with patterns configured (#4494) (4a6d217)
v5.10.1
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.10.0
Bug Fixes
- eslint-plugin: [explicit-function-return-type] support AllowTypedFunctionExpression within AllowHigherOrderFunction (#4250) (d053cde)
- eslint-plugin: [no-extra-semi] false negatives when used with eslint 8.3.0 (#4458) (f4016c2)
- eslint-plugin: [no-invalid-this] crash when used with eslint 8.7.0 (#4448) (e56f1e5)
- eslint-plugin: [no-magic-numbers] handle bigint in class props (#4411) (c8e650f)
Features
- rename
experimental-utils
toutils
and makeexperimental-utils
an alias to the new package (#4172) (1d55a75)
5.9.1 (2022-01-10)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.9.1
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.9.0
Features
5.8.1 (2021-12-27)
Bug Fixes
- eslint-plugin: [consistent-indexed-object-style] do not report for circular references (#4347) (6edebcd)
- eslint-plugin: [consistent-type-definitions] correct fixer with declare keyword (#4334) (0cd911a)
- eslint-plugin: [padding-line-between-statements] make function overloading is also processed (#4345) (d31ec26)
v5.8.1
Bug Fixes
- eslint-plugin: [consistent-indexed-object-style] do not report for circular references (#4347) (6edebcd)
- eslint-plugin: [consistent-type-definitions] correct fixer with declare keyword (#4334) (0cd911a)
- eslint-plugin: [padding-line-between-statements] make function overloading is also processed (#4345) (d31ec26)
v5.8.0
Bug Fixes
- eslint-plugin: [no-implied-eval] improve performance (#4313) (e344596)
-
eslint-plugin: [padding-line-between-statements]
type
StatementTypes can't differenciate from variable (#4270) (bfc4324) - eslint-plugin: [strict-boolean-expression] false positive for truthy boolean (#4275) (72c2e41)
-
eslint-plugin:
array-type
markAST_NODE_TYPES.TSBigIntKeyword
as simple (#4274) (74e544e) -
eslint-plugin: handle method overloading in
semi
(#4318) (3b87b49) - experimental-utils: support immutable members (#3844) (3d33a77)
Features
-
eslint-plugin: [no-throw-literal] add options to to disallow
any
/unknown
(#4207) (ff0adf9) - eslint-plugin: [restrict-plus-operand] add allowAny option (#4260) (2788545)
v5.7.0
Features
- eslint-plugin: [consistent-type-exports] support TS4.5 inline export specifiers (#4236) (be4d976)
- eslint-plugin: [consistent-type-imports] support TS4.5 inline import specifiers (#4237) (f61af7c)
- eslint-plugin: [no-shadow] support TS4.5 inline import specifiers (#4239) (96b7e8e)
v5.6.0
Features
v5.5.0
Bug Fixes
- eslint-plugin: [member-ordering] order literal names correctly in (#4054) (d57141a)
-
eslint-plugin: [no-duplicate-imports] remove unnecessary type checking for
node.source
(#4196) (637722a) - eslint-plugin: [no-var-requires] do not report require created from createRequire (#4221) (0040186)
- eslint-plugin: [prefer-for-of] do nor error when iterating over this (#4176) (258ddb0)
- eslint-plugin: [require-await] treat yield* asynciterable as an await (#4125) (5a4ce6a)
- eslint-plugin: remove all whitespaces in comparison #4220 (#4223) (853d799)
Features
- eslint-plugin: [member-ordering] add option to sort case insensitive (#3896) (e3533d5)
-
eslint-plugin:
array-type
distinguish whether readonly or not (#4066) (314af44)
v5.4.0
Bug Fixes
- correct issues with circular imports (#4140) (4c87b24)
- eslint-plugin: [explicit-member-accessibility] private fields cannot have accessibility modifiers (#4117) (81b25c1)
- eslint-plugin: [no-implied-eval] ignore locally declared functions (#4049) (d97140e)
- eslint-plugin: check optional chaining for floating promises (#4096) (d724777)
Features
- add RuleCreator.withoutDocs (#4136) (87cfc6a)
- typescript-estree: support private fields in-in syntax (#4075) (939d8ea)
5.3.1 (2021-11-08)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.3.1
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.3.0
Bug Fixes
- eslint-plugin: ignore private identifiers in explicit-module-boundary-types (#4046) (80b853d)
- eslint-plugin: skip seenTypes for unions in isTypeReadonly (#4043) (6af7ca7)
Features
v5.2.0
Bug Fixes
Features
v5.1.0
Bug Fixes
- eslint-plugin: [no-restricted-imports]: report type-only imports properly (#3996) (283cdf2)
- eslint-plugin: [strict-bool-expr] treat unconstrained generic as any (#3981) (9b29ca7)
v5.0.0
Bug Fixes
-
eslint-plugin: [explicit-member-accessibility] report
TSAbstractPropertyDefinition
andTSAbstractMethodDefinition
properly (#3901) (82016f9) - eslint-plugin: update new rules from master (#3840) (d88a6b4)
- update new rules from master (b34fb7e)
- eslint-plugin: crash in no-dupe-class-members (v5) (#3813) (4b09644)
Features
-
ast-spec: bring
Node
objects in line with ESTree (#3771) (dd14064) -
eslint-plugin: remove
object
fromban-types
' default types (#3818) (ae3fa90) - eslint-plugin: removed value from abstract property nodes (#3765) (5823524), closes #3748
- eslint-plugin: update recommended configs (#3809) (deeb7bb)
- align class property representation with ESTree (#3806) (22fa5c0), closes #3430 #3077
- remove
meta.docs.category
from rules (#3800) (71c9370) - remove
TSParenthesizedType
(#3340) (c8ee432), closes #3136 - support
PrivateIdentifier
(#3808) (0eefe5e), closes #3430 #2933 - eslint-plugin: [comma-dangle] align schema with ESLint v8 (#3768) (0acfafc)
- eslint-plugin: [member-ordering] add support for getters and setters (#3611) (e264124)
-
eslint-plugin: remove
no-unused-vars-experimental
(79ae03b) - support ESLint v8 (#3737) (4ca62ae)
BREAKING CHANGES
-
eslint-plugin:
ban-types
no longer reportsobject
by default
v4.33.0
Bug Fixes
-
eslint-plugin: [lines-between-class-members] fix
exceptAfterOverload
for abstract methods (#3943) (240fc65) - eslint-plugin: [no-confusing-void-expression] support optional chaining (#3937) (c40dd13)
- eslint-plugin: [no-restricted-imports] fix crash when no options given (#3947) (edaa3c1)
-
eslint-plugin: [non-nullable-type-assertion-style] false-positive with non-nullish
as
assertions and types (#3940) (40760f9) - eslint-plugin: [padding-line-between-statements] TSModuleBlock should change scope (#3944) (f8f534e)
-
eslint-plugin: [prefer-regexp-exec] check
RegExp
without flags (#3946) (0868725)
v4.32.0
Bug Fixes
-
eslint-plugin: [consistent-type-definitions] correct fix for
export default
(#3899) (ebb33ed) -
eslint-plugin: [no-require-imports] report only global
require
(#3871) (8aa87a1) - eslint-plugin: [no-shadow] ignore type-only imports properly (#3868) (dda9cee)
-
eslint-plugin: [no-var-requires] report problems within
NewExpression
(#3884) (ed5e459) - eslint-plugin: [padding-line-between-statements] problems within namespaces not being reported (#3869) (1861356)
-
eslint-plugin: [prefer-regexp-exec] respect flags when using
RegExp
(#3855) (ffdb5ff) - eslint-plugin: [prefer-return-this-type] handle generics properly in fixer (#3852) (9e98b8f)
- eslint-plugin: false-positive/negative with array index in no-unnecessary-condition (#3805) (bdb8f0b)
Features
- eslint-plugin: [no-type-alias]: add allowGenerics option (#3865) (4195919)
-
eslint-plugin: add
no-non-null-asserted-nullish-coalescing
rule (#3349) (4e99961) -
eslint-plugin: add new extended rule
no-restricted-imports
(#3775) (ec5d506) -
eslint-plugin-internal: [prefer-ast-types-enum] add
DefinitionType
enum (#3916) (13b7de5)
4.31.2 (2021-09-20)
Note: Version bump only for package @typescript-eslint/eslint-plugin
4.31.1 (2021-09-13)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.31.2
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.31.1
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.31.0
Bug Fixes
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)
v4.30.0
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)
Features
4.29.3 (2021-08-23)
Note: Version bump only for package @typescript-eslint/eslint-plugin
4.29.2 (2021-08-16)
Note: Version bump only for package @typescript-eslint/eslint-plugin
4.29.1 (2021-08-09)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.29.3
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.29.2
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.29.1
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.29.0
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)
Features
- 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)
4.28.5 (2021-07-26)
Note: Version bump only for package @typescript-eslint/eslint-plugin
4.28.4 (2021-07-19)
Note: Version bump only for package @typescript-eslint/eslint-plugin
4.28.3 (2021-07-12)
Note: Version bump only for package @typescript-eslint/eslint-plugin
4.28.2 (2021-07-05)
Note: Version bump only for package @typescript-eslint/eslint-plugin
4.28.1 (2021-06-28)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.28.5
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.28.4
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.28.3
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.28.2
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.28.1
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.28.0
Bug Fixes
v4.27.0
Bug Fixes
Features
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.1
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
Bug Fixes
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)
v4.25.0
Bug Fixes
v4.24.0
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
Bug Fixes
Features
4.22.1 (2021-05-04)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.22.1
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.22.0
Bug Fixes
Features
v4.21.0
Bug Fixes
-
eslint-plugin: [no-type-alias] consider
keyof
as an alias (#3242) (329ef02) - eslint-plugin: [no-unnecessary-type-assertion] correct bad fix for angle bracket assertion (#3244) (265a039)
- eslint-plugin: [restrict-plus-operands] consider template literal types as strings (#3234) (ccfd68e)
- eslint-plugin: [strict-boolean-expressions] account for truthy literals (#3236) (0913f40)
- eslint-plugin: always ignore assignments in no-unnecessary-type-assertion (#3235) (0221476)
Features
- eslint-plugin: [no-unsafe-argument] add rule (#3256) (b1aa7dc), closes #791
-
eslint-plugin: [no-unsafe-call][no-unsafe-member-access] improve report messages for
this
fornoImplicitThis
(#3199) (b1b26c4)
v4.20.0
Features
- eslint-plugin: [space-infix-ops] support for class properties and type aliases (#3231) (5414bf2)
- eslint-plugin: [type-annotation-spacing] handle space between ? and : (#3138) (40bdb0b)
v4.19.0
Bug Fixes
- eslint-plugin: [member-delimiter-style] correct invalid fix for multiline with params on the same line (#3177) (7ad343b)
- eslint-plugin: [promise-function-async] bad fixer with computed and literal methods (#3163) (e3a3ea0)
Features
- eslint-plugin: [object-curly-spacing] support MappedType (#3176) (0557a43)
- eslint-plugin: [unbound-method] improve error message (#3203) (5cc5d2e), closes #3201
v4.18.0
Bug Fixes
- eslint-plugin: [explicit-module-boundary-types] fixes #2864 related to functions in nested object properties (#3178) (55e1fba)
- eslint-plugin: [no-extran-class] allowWithDecorator should ignore other errors (#3160) (a148673)
Features
v4.17.0
Bug Fixes
Features
4.16.1 (2021-03-01)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.16.1
Note: Version bump only for package @typescript-eslint/eslint-plugin
v4.16.0
Bug Fixes
- eslint-plugin: [consistent-indexed-object-style] do not autofix if interface has extends (#3009) (b0475af)
- eslint-plugin: [no-implied-eval] handle conditional expression (#3125) (8c65d30)
- eslint-plugin: [no-unused-vars] don't report nested module declaration (#3119) (4ca5888)
- eslint-plugin: [prefer-function-type] apply existing comments to the fixed code (#3094) (c32f803)
-
eslint-plugin: [unbound-method] allow
super
expressions inthis
assignments (#3010) (c65a139)
Features
- eslint-plugin: [member-delimiter-style] Add an option 'multilineDetection' to treat types and interfaces as single line if the last member ends on the same line as the closing bracket (#2970) (cf86f42)
- eslint-plugin: [prom-func-async] report only function head (#2872) (25f459c)
4.15.2 (2021-02-22)
Bug Fixes
- typescript-estree: correct issues in AST definition (#3083) (509a117)
- add missing intrinsic keyword node to AST (#3081) (409bf0b)
- eslint-plugin: [no-var-requires] report when used in type assertion (#3074) (763a252)
4.15.1 (2021-02-15)
Bug Fixes
- eslint-plugin: [explicit-module-boundary-types] check allowNames on function declarations and property methods (#3051) (0ade469)
v4.15.2
Bug Fixes
- typescript-estree: correct issues in AST definition (#3083) (509a117)
- add missing intrinsic keyword node to AST (#3081) (409bf0b)
- eslint-plugin: [no-var-requires] report when used in type assertion (#3074) (763a252)
v4.15.1
Bug Fixes
- eslint-plugin: [explicit-module-boundary-types] check allowNames on function declarations and property methods (#3051) (0ade469)
v4.15.0
Bug Fixes
- eslint-plugin: [no-extra-parens] handle ESLint 7.19.0 (#2993) (4615048)
- eslint-plugin: [prefer-function-type] correct fixer when signature ends with a semi (#3002) (898dd39)
- scope-manager: fix visiting of TSImportType (#3008) (ce4fcbf), closes #3006
4.14.2 (2021-02-01)
Bug Fixes
- eslint-plugin: [consistent-type-imports] incorrect handling of computed property type signatures (#2990) (58f2655), closes #2989
- scope-manager: correctly reference generic parameters when decorator metadata is enabled (#2975) (7695ef3), closes #2972
4.14.1 (2021-01-25)
Bug Fixes
-
eslint-plugin: [sort-type-union-intersection-members] consider
void
as anullish
(#2944) (a241b25), closes #2940 - scope-manager: fix incorrect handling of class decorators and class method default params (#2943) (e1eac83), closes #2941 #2942 #2751
v4.14.2
Bug Fixes
- eslint-plugin: [consistent-type-imports] incorrect handling of computed property type signatures (#2990) (58f2655), closes #2989
- scope-manager: correctly reference generic parameters when decorator metadata is enabled (#2975) (7695ef3), closes #2972
v4.14.1
Bug Fixes
-
eslint-plugin: [sort-type-union-intersection-members] consider
void
as anullish
(#2944) (a241b25), closes #2940 - scope-manager: fix incorrect handling of class decorators and class method default params (#2943) (e1eac83), closes #2941 #2942 #2751
v4.14.0
Features
- add support for decorator metadata in scope analysis and in consistent-type-imports (#2751) (445e416), closes #2559
-
eslint-plugin: add
object-curly-spacing
rule (#2892) (32bd18d)
v4.13.0
Bug Fixes
Features
v4.12.0
Bug Fixes
Features
4.11.1 (2020-12-28)
Bug Fixes
- eslint-plugin: [naming-convention] fix precedence of method and property meta selectors (#2877) (2f10e1a)
v4.11.1
Bug Fixes
- eslint-plugin: [naming-convention] fix precedence of method and property meta selectors (#2877) (2f10e1a)
v4.11.0
Bug Fixes
Features
v4.10.0
Bug Fixes
-
eslint-plugin: [naming-convention] fix wrong member of
method
andproperty
meta selectors (#2856) (9a6c362)
Features
4.9.1 (2020-12-07)
Bug Fixes
- eslint-plugin: [method-signature-style] fix crash with methods without a return type (#2836) (fed89f2), closes #2834
- eslint-plugin: [no-unused-vars] false-positive with class expressions (#2833) (aadb39f), closes #2831
- eslint-plugin: [no-unused-vars] fix race condition between naming-convention and no-unused-vars (#2848) (ccb6b94), closes #2844
v4.9.1
Bug Fixes
- eslint-plugin: [method-signature-style] fix crash with methods without a return type (#2836) (fed89f2), closes #2834
- eslint-plugin: [no-unused-vars] false-positive with class expressions (#2833) (aadb39f), closes #2831
- eslint-plugin: [no-unused-vars] fix race condition between naming-convention and no-unused-vars (#2848) (ccb6b94), closes #2844
v4.9.0
Bug Fixes
- eslint-plugin: [consistent-indexed-object-style] convert readonly index signature to readonly record (#2798) (29428a4)
- eslint-plugin: [consistent-type-imports] crash when using both default and namespace in one import (#2778) (c816b84)
- eslint-plugin: [explicit-module-boundary-types] ignore functions exported within typed object/array literals (#2805) (73a63ee)
- eslint-plugin: [no-use-before-define] allow class references if they're within a class decorator (#2827) (050023a), closes #2842
- eslint-plugin: [triple-slash-reference] fix crash with external module reference (#2788) (32b1b68)
- scope-manager: fix assertion assignments not being marked as write references (#2809) (fa68492), closes #2804
Features
-
eslint-plugin: [naming-convention] add
requireDouble
,allowDouble
,allowSingleOrDouble
options for underscores (#2812) (dd0576a) -
eslint-plugin: [naming-convention] add
requiresQuotes
modifier (#2813) (6fc8409), closes #2761 #1483 -
eslint-plugin: [naming-convention] add modifier
unused
(#2810) (6a06944) -
eslint-plugin: [naming-convention] add modifiers
exported
,global
, anddestructured
(#2808) (fb254a1), closes #2239 #2512 #2318 #2802 -
eslint-plugin: [naming-convention] allow
destructured
modifier forparameter
selector (#2829) (525d2ff), closes #2828 -
eslint-plugin: [naming-convention] split
property
andmethod
selectors into more granularclassXXX
,objectLiteralXXX
,typeXXX
(#2807) (665b6d4), closes #1477 #2802 - eslint-plugin: [no-unused-vars] fork the base rule (#2768) (a8227a6), closes #2782 #2714 #2648
-
eslint-plugin: [unbound-method] add support for methods with a
this: void
parameter (#2796) (878dd4a)
4.8.2 (2020-11-23)
Bug Fixes
4.8.1 (2020-11-17)
Bug Fixes
- eslint-plugin: [no-unnecessary-condition] false positive when array predicate returns unknown (#2772) (111c244)
v4.8.2
Bug Fixes
v4.8.1
Bug Fixes
- eslint-plugin: [no-unnecessary-condition] false positive when array predicate returns unknown (#2772) (111c244)
v4.8.0
Bug Fixes
- eslint-plugin: [consistent-type-definitions] remove fixer when the interface is within a global module declaration (#2739) (2326238)
- eslint-plugin: [no-unsafe-member-access] ignore MemberExpression's whose parents are either TSClassImplements or TSInterfaceHeritage (#2753) (535db3b)
v4.7.0
Bug Fixes
- eslint-plugin: [array-type] parenthesize ReadonlyArray fix (#2747) (83385ac)
- eslint-plugin: [no-extra-non-null-assertion] false positive with non-nullable computed key (#2737) (e82698c)
Features
-
eslint-plugin: add rule
no-confusing-void-expression
(#2605) (c8a4dad) - support TS4.1 features (#2748) (2be354b), closes #2583
4.6.1 (2020-11-02)
Bug Fixes
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v5.37.0
Note: Version bump only for package @typescript-eslint/parser
5.36.2 (2022-09-05)
Note: Version bump only for package @typescript-eslint/parser
5.36.1 (2022-08-30)
Note: Version bump only for package @typescript-eslint/parser
v5.36.2
Note: Version bump only for package @typescript-eslint/parser
v5.36.1
Note: Version bump only for package @typescript-eslint/parser
v5.36.0
Note: Version bump only for package @typescript-eslint/parser
5.35.1 (2022-08-24)
Note: Version bump only for package @typescript-eslint/parser
v5.35.1
Note: Version bump only for package @typescript-eslint/parser
v5.35.0
Note: Version bump only for package @typescript-eslint/parser
v5.34.0
Note: Version bump only for package @typescript-eslint/parser
5.33.1 (2022-08-15)
Note: Version bump only for package @typescript-eslint/parser
v5.33.1
Note: Version bump only for package @typescript-eslint/parser
v5.33.0
Note: Version bump only for package @typescript-eslint/parser
v5.32.0
Note: Version bump only for package @typescript-eslint/parser
v5.31.0
Note: Version bump only for package @typescript-eslint/parser
5.30.7 (2022-07-18)
Bug Fixes
5.30.6 (2022-07-11)
Note: Version bump only for package @typescript-eslint/parser
5.30.5 (2022-07-04)
Note: Version bump only for package @typescript-eslint/parser
5.30.4 (2022-07-03)
Note: Version bump only for package @typescript-eslint/parser
5.30.3 (2022-07-01)
Note: Version bump only for package @typescript-eslint/parser
5.30.2 (2022-07-01)
Note: Version bump only for package @typescript-eslint/parser
5.30.1 (2022-07-01)
Note: Version bump only for package @typescript-eslint/parser
v5.30.7
Bug Fixes
v5.30.6
Note: Version bump only for package @typescript-eslint/parser
v5.30.5
Note: Version bump only for package @typescript-eslint/parser
v5.30.4
Note: Version bump only for package @typescript-eslint/parser
v5.30.3
Note: Version bump only for package @typescript-eslint/parser
v5.30.2
Note: Version bump only for package @typescript-eslint/parser
v5.30.1
Note: Version bump only for package @typescript-eslint/parser
v5.30.0
Note: Version bump only for package @typescript-eslint/parser
v5.29.0
Note: Version bump only for package @typescript-eslint/parser
v5.28.0
Note: Version bump only for package @typescript-eslint/parser
5.27.1 (2022-06-06)
Note: Version bump only for package @typescript-eslint/parser
v5.27.1
Note: Version bump only for package @typescript-eslint/parser
v5.27.0
Bug Fixes
Features
v5.26.0
Note: Version bump only for package @typescript-eslint/parser
v5.25.0
Note: Version bump only for package @typescript-eslint/parser
v5.24.0
Note: Version bump only for package @typescript-eslint/parser
v5.23.0
Note: Version bump only for package @typescript-eslint/parser
v5.22.0
Note: Version bump only for package @typescript-eslint/parser
v5.21.0
Note: Version bump only for package @typescript-eslint/parser
v5.20.0
Note: Version bump only for package @typescript-eslint/parser
v5.19.0
Note: Version bump only for package @typescript-eslint/parser
v5.18.0
Note: Version bump only for package @typescript-eslint/parser
v5.17.0
Note: Version bump only for package @typescript-eslint/parser
v5.16.0
Note: Version bump only for package @typescript-eslint/parser
v5.15.0
Features
v5.14.0
Note: Version bump only for package @typescript-eslint/parser
v5.13.0
Note: Version bump only for package @typescript-eslint/parser
5.12.1 (2022-02-21)
Note: Version bump only for package @typescript-eslint/parser
v5.12.1
Note: Version bump only for package @typescript-eslint/parser
v5.12.0
Note: Version bump only for package @typescript-eslint/parser
v5.11.0
Note: Version bump only for package @typescript-eslint/parser
5.10.2 (2022-01-31)
Note: Version bump only for package @typescript-eslint/parser
5.10.1 (2022-01-24)
Note: Version bump only for package @typescript-eslint/parser
v5.10.2
Note: Version bump only for package @typescript-eslint/parser
v5.10.1
Note: Version bump only for package @typescript-eslint/parser
v5.10.0
Features
- rename
experimental-utils
toutils
and makeexperimental-utils
an alias to the new package (#4172) (1d55a75)
5.9.1 (2022-01-10)
Note: Version bump only for package @typescript-eslint/parser
v5.9.1
Note: Version bump only for package @typescript-eslint/parser
v5.9.0
Note: Version bump only for package @typescript-eslint/parser
5.8.1 (2021-12-27)
Note: Version bump only for package @typescript-eslint/parser
v5.8.1
Note: Version bump only for package @typescript-eslint/parser
v5.8.0
Note: Version bump only for package @typescript-eslint/parser
v5.7.0
Note: Version bump only for package @typescript-eslint/parser
v5.6.0
Note: Version bump only for package @typescript-eslint/parser
v5.5.0
Note: Version bump only for package @typescript-eslint/parser
v5.4.0
Note: Version bump only for package @typescript-eslint/parser
5.3.1 (2021-11-08)
Note: Version bump only for package @typescript-eslint/parser
v5.3.1
Note: Version bump only for package @typescript-eslint/parser
v5.3.0
Note: Version bump only for package @typescript-eslint/parser
v5.2.0
Note: Version bump only for package @typescript-eslint/parser
v5.1.0
Note: Version bump only for package @typescript-eslint/parser
v5.0.0
Features
v4.33.0
Note: Version bump only for package @typescript-eslint/parser
v4.32.0
Features
4.31.2 (2021-09-20)
Note: Version bump only for package @typescript-eslint/parser
4.31.1 (2021-09-13)
Note: Version bump only for package @typescript-eslint/parser
v4.31.2
Note: Version bump only for package @typescript-eslint/parser
v4.31.1
Note: Version bump only for package @typescript-eslint/parser
v4.31.0
Note: Version bump only for package @typescript-eslint/parser
v4.30.0
Features
4.29.3 (2021-08-23)
Note: Version bump only for package @typescript-eslint/parser
4.29.2 (2021-08-16)
Note: Version bump only for package @typescript-eslint/parser
4.29.1 (2021-08-09)
Note: Version bump only for package @typescript-eslint/parser
v4.29.3
Note: Version bump only for package @typescript-eslint/parser
v4.29.2
Note: Version bump only for package @typescript-eslint/parser
v4.29.1
Note: Version bump only for package @typescript-eslint/parser
v4.29.0
Features
- eslint-plugin: Catch unused React import with new JSX transform (#3577) (02998ea)
- typescript-estree: add support for custom module resolution (#3516) (d48429d)
4.28.5 (2021-07-26)
Note: Version bump only for package @typescript-eslint/parser
4.28.4 (2021-07-19)
Note: Version bump only for package @typescript-eslint/parser
4.28.3 (2021-07-12)
Note: Version bump only for package @typescript-eslint/parser
4.28.2 (2021-07-05)
Note: Version bump only for package @typescript-eslint/parser
4.28.1 (2021-06-28)
Note: Version bump only for package @typescript-eslint/parser
v4.28.5
Note: Version bump only for package @typescript-eslint/parser
v4.28.4
Note: Version bump only for package @typescript-eslint/parser
v4.28.3
Note: Version bump only for package @typescript-eslint/parser
v4.28.2
Note: Version bump only for package @typescript-eslint/parser
v4.28.1
Note: Version bump only for package @typescript-eslint/parser
v4.28.0
Note: Version bump only for package @typescript-eslint/parser
v4.27.0
Bug Fixes
Features
4.26.1 (2021-06-07)
Note: Version bump only for package @typescript-eslint/parser
v4.26.1
Note: Version bump only for package @typescript-eslint/parser
v4.26.0
Note: Version bump only for package @typescript-eslint/parser
v4.25.0
Note: Version bump only for package @typescript-eslint/parser
v4.24.0
Note: Version bump only for package @typescript-eslint/parser
v4.23.0
Features
4.22.1 (2021-05-04)
Note: Version bump only for package @typescript-eslint/parser
v4.22.1
Note: Version bump only for package @typescript-eslint/parser
v4.22.0
Note: Version bump only for package @typescript-eslint/parser
v4.21.0
Note: Version bump only for package @typescript-eslint/parser
v4.20.0
Note: Version bump only for package @typescript-eslint/parser
v4.19.0
Note: Version bump only for package @typescript-eslint/parser
v4.18.0
Note: Version bump only for package @typescript-eslint/parser
v4.17.0
Note: Version bump only for package @typescript-eslint/parser
4.16.1 (2021-03-01)
Note: Version bump only for package @typescript-eslint/parser
v4.16.1
Note: Version bump only for package @typescript-eslint/parser
v4.16.0
Note: Version bump only for package @typescript-eslint/parser
4.15.2 (2021-02-22)
Note: Version bump only for package @typescript-eslint/parser
4.15.1 (2021-02-15)
Note: Version bump only for package @typescript-eslint/parser
v4.15.2
Note: Version bump only for package @typescript-eslint/parser
v4.15.1
Note: Version bump only for package @typescript-eslint/parser
v4.15.0
Note: Version bump only for package @typescript-eslint/parser
4.14.2 (2021-02-01)
Note: Version bump only for package @typescript-eslint/parser
4.14.1 (2021-01-25)
Note: Version bump only for package @typescript-eslint/parser
v4.14.2
Note: Version bump only for package @typescript-eslint/parser
v4.14.1
Note: Version bump only for package @typescript-eslint/parser
v4.14.0
Features
- add support for decorator metadata in scope analysis and in consistent-type-imports (#2751) (445e416), closes #2559
v4.13.0
Note: Version bump only for package @typescript-eslint/parser
v4.12.0
Note: Version bump only for package @typescript-eslint/parser
4.11.1 (2020-12-28)
Note: Version bump only for package @typescript-eslint/parser
v4.11.1
Note: Version bump only for package @typescript-eslint/parser
v4.11.0
Note: Version bump only for package @typescript-eslint/parser
v4.10.0
Note: Version bump only for package @typescript-eslint/parser
4.9.1 (2020-12-07)
Note: Version bump only for package @typescript-eslint/parser
v4.9.1
Note: Version bump only for package @typescript-eslint/parser
v4.9.0
Note: Version bump only for package @typescript-eslint/parser
4.8.2 (2020-11-23)
Note: Version bump only for package @typescript-eslint/parser
4.8.1 (2020-11-17)
Note: Version bump only for package @typescript-eslint/parser
v4.8.2
Note: Version bump only for package @typescript-eslint/parser
v4.8.1
Note: Version bump only for package @typescript-eslint/parser
v4.8.0
Note: Version bump only for package @typescript-eslint/parser
v4.7.0
Note: Version bump only for package @typescript-eslint/parser
4.6.1 (2020-11-02)
Note: Version bump only for package @typescript-eslint/parser
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.