This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @typescript-eslint/eslint-plugin | ^4.26.1
-> ^5.0.0
| | | | |
| @typescript-eslint/parser | ^4.26.1
-> ^5.0.0
| | | | |
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
Compare Source
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)
5.42.1 (2022-11-07)
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
- ast-spec: add TSQualifiedName to TypeNode union (#5906) (5c316c1)
- eslint-plugin: [no-extra-parens] handle type assertion in extends clause (#5901) (8ed7219)
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)
Compare Source
Bug Fixes
- eslint-plugin: [no-base-to-string] ignore Error, URL, and URLSearchParams by default (#5839) (96e1c6c)
- type-utils: prevent stack overflow in
isTypeReadonly
(#5860) (a6d8f7e), closes #4476
Features
- eslint-plugin: [no-unsafe-declaration-merging] switch to use scope analysis instead of type information (#5865) (e70a10a)
- eslint-plugin: add no-unsafe-declaration-merging (#5840) (3728031)
5.40.1 (2022-10-17)
Bug Fixes
- eslint-plugin: Skip missing 'rest' tuple type arguments in no-misused-promises (#5809) (c5beaa2), closes #5807
Compare Source
Bug Fixes
- eslint-plugin: Skip missing 'rest' tuple type arguments in no-misused-promises (#5809) (c5beaa2), closes #5807
Compare Source
Bug Fixes
- eslint-plugin: [consistent-indexed-object-style] handle interface generic (#5746) (7a8a0a3)
- eslint-plugin: [no-unnecessary-condition] handle void (#5766) (ac8f06b)
Features
- eslint-plugin: Check 'rest' parameters in no-misused-promises (#5731) (6477f38), closes #4015
- utils: add dependency constraint filtering for
RuleTester
(#5750) (121f4c0)
Compare Source
Features
- eslint-plugin: allow using void as a default type for a generic argument if allowInGenericTypeArguments is specified (#5671) (bb46ef0)
5.38.1 (2022-09-26)
Note: Version bump only for package @typescript-eslint/eslint-plugin
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
Compare Source
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
Compare Source
Bug Fixes
- eslint-plugin: [no-extra-parens] handle generic ts array type. (#5550) (0d6a190)
- scope-manager: correct handling for class static blocks (#5580) (35bb8dd)
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
Compare Source
Bug Fixes
Features
5.35.1 (2022-08-24)
Bug Fixes
- eslint-plugin: correct rule schemas to pass ajv validation (#5531) (dbf8b56)
Compare Source
Bug Fixes
- eslint-plugin: correct rule schemas to pass ajv validation (#5531) (dbf8b56)
Compare Source
Features
- eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#5492) (0edb94a)
Compare Source
Bug Fixes
- eslint-plugin: [no-useless-constructor] handle parameter decorator (#5450) (864dbcf)
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
and no-unsafe-argument
(and enable eslint-plugin/recommended
rules internally) (#5453) (d023910)
Compare Source
Bug Fixes
- missing placeholders in violation messages for
no-unnecessary-type-constraint
and no-unsafe-argument
(and enable eslint-plugin/recommended
rules internally) (#5453) (d023910)
Compare Source
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)
Compare Source
Features
- eslint-plugin: [no-use-before-define] add "allowNamedExports" option (#5397) (ad412cd)
Compare Source
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
- eslint-plugin: [no-base-to-string] add missing apostrophe to message (#5270) (d320174)
Compare Source
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)
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
Compare Source
Bug Fixes
- eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value (#5280) (57f032c)
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
Compare Source
Bug Fixes
- eslint-plugin: [no-base-to-string] add missing apostrophe to message (#5270) (d320174)
Compare Source
Features
- eslint-plugin: [no-shadow] add shadowed variable location to the error message (#5183) (8ca08e9)
- treat
this
in typeof this
as a ThisExpression
(#4382) (b04b2ce)
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
Compare Source
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
- eslint-plugin: [consistent-generic-constructors] add rule (#4924) (921cdf1)
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)
Compare Source
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)
Compare Source
Bug Fixes
- eslint-plugin: [no-type-alias] handle Template Literal Types (#5092) (8febf11)
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)
Compare Source
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
Compare Source
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 of import/no-duplicates
(#4973) (1d2e41a)
- update to TypeScript 4.7-rc (#4829) (6fe783c)
Compare Source
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)
Compare Source
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)
Compare Source
Bug Fixes
- eslint-plugin: [comma-spacing] verify
nextToken
exists (#4868) (23746f8)
Features
- eslint-plugin: [no-duplicate-enum-values] add rule (#4833) (5899164)
Compare Source
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)
Compare Source
Features
- eslint-plugin: [no-magic-numbers] ignoreTypeIndexes option (#4789) (5e79451)
Compare Source
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)
Compare Source
Bug Fixes
- eslint-plugin: method-signature-style respect getter signature (#4777) (12dd670)
Features
- eslint-plugin: [no-shadow] ignoreOnInitialization option (#4603) (068ea9b)
- eslint-plugin: [no-this-alias] report on assignment expressions (#4718) (8329498)
Compare Source
Features
- eslint-plugin: [no-unused-vars] add destructuredArrayIgnorePattern options (#4748) (6f8db8b)
Compare Source
Bug Fixes
- eslint-plugin: [consistent-type-assertions] enforce assertionStyle for
const
assertions (#4685) (8ec05be)
Features
- eslint-plugin: [prefer-optional-chain] support logical with empty object (#4430) (d21cfe0)
Compare Source
Features
- parser: add
parserOptions.emitDecoratorMetadata
(#4646) (e3dd343)
Compare Source
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)
Compare Source
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
- eslint-plugin: [no-unnecessary-type-arguments] fix comparison of types (#4555) (fc3936e)
Compare Source
Bug Fixes
- eslint-plugin: [no-unnecessary-type-arguments] fix comparison of types (#4555) (fc3936e)
Compare Source
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
- add checking property definition for allowNames option (#4542) (e32bef6)
Compare Source
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
- eslint-plugin: [explicit-function-return-type] add allowedNames (#4440) (936e252)
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
Compare Source
Bug Fixes
- eslint-plugin: [no-restricted-imports] allow relative type imports with patterns configured (#4494) (4a6d217)
[v5.10.1
](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANG
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.