Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @typescript-eslint/eslint-plugin to v5 #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

swing-renovate-bot
Copy link
Contributor

@swing-renovate-bot swing-renovate-bot commented Oct 11, 2021

This PR contains the following updates:

Package Type Update Change
@typescript-eslint/eslint-plugin devDependencies major ^4.14.2 -> ^5.0.0

Release Notes

typescript-eslint/typescript-eslint

v5.26.0

Compare Source

Bug Fixes
  • ast-spec: add SpreadElement to ArrayExpression.elements (#​5025) (9f3121b)
  • 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
Features

v5.25.0

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)

v5.24.0

Compare Source

Bug Fixes
Features

v5.23.0

Compare Source

Bug Fixes
  • ast-spec: correct AwaitExpression.argument type (#​4880) (3ec5f53)
  • 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)
Features

v5.22.0

Compare Source

Bug Fixes
Features
  • ast-spec: add fixture test framework and some initial fixtures (#​3258) (f3cf87b)
  • eslint-plugin: [no-duplicate-enum-values] add rule (#​4833) (5899164)

v5.21.0

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)

v5.20.0

Compare Source

Features
  • eslint-plugin: [no-magic-numbers] ignoreTypeIndexes option (#​4789) (5e79451)

v5.19.0

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)

v5.18.0

Compare Source

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

Compare Source

Bug Fixes
Features
  • eslint-plugin: [no-unused-vars] add destructuredArrayIgnorePattern options (#​4748) (6f8db8b)

v5.16.0

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-type-assertions] enforce assertionStyle for const assertions (#​4685) (8ec05be)
  • scope-manager: incorrect reference for this within a jsx identifier (#​4535) (dd49280)
  • utils: RuleTester: Only call afterAll if defined (#​4656) (0fe0683)
Features
  • eslint-plugin: [prefer-optional-chain] support logical with empty object (#​4430) (d21cfe0)

v5.15.0

Compare Source

Features

v5.14.0

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

v5.13.0

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)
  • utils: expose ast-utils' helpers (#​4503) (f106e4b)
  • utils: extract isNotTokenOfTypeWithConditions out of ast-utils' predicates (#​4502) (66501d6)

5.12.1 (2022-02-21)

Bug Fixes
  • eslint-plugin: [no-unnecessary-type-arguments] fix comparison of types (#​4555) (fc3936e)

v5.12.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-type-arguments] fix comparison of types (#​4555) (fc3936e)

v5.12.0

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)

v5.11.0

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/typescript-eslint

v5.10.2

Compare Source

Bug Fixes
  • eslint-plugin: [no-restricted-imports] allow relative type imports with patterns configured (#​4494) (4a6d217)

v5.10.1

Compare Source

Note: Version bump only for package @​typescript-eslint/typescript-eslint

v5.10.0

Compare Source

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)
  • type-utils: check IndexSignature internals when checking isTypeReadonly (#​4417) (ef3147c), closes #​4410 #​3714
  • type-utils: intersection types involving readonly arrays are now handled in most cases (#​4429) (5046882)
  • type-utils: isTypeReadonly now handles conditional types (#​4421) (39a6806)
  • type-utils: union types always being marked as readonly (#​4419) (99ab193)
Features
  • rename experimental-utils to utils and make experimental-utils an alias to the new package (#​4172) (1d55a75)
  • type-utils: make isTypeReadonly's options param optional (#​4415) (3a07a56)

5.9.1 (2022-01-10)

Note: Version bump only for package @​typescript-eslint/typescript-eslint

v5.9.1

Compare Source

Note: Version bump only for package @​typescript-eslint/typescript-eslint

v5.9.0

Compare Source

Features
  • experimental-utils: move isTypeReadonly from eslint-plugin to experimental-utils (#​3658) (a9eb0b9)

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

Compare Source

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

Compare Source

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 mark AST_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

Compare Source

Bug Fixes
  • typescript-estree: type-only regression for consumers not yet on TS 4.5 (#​4272) (550b61e)
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

Compare Source

Features

v5.5.0

Compare Source

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)
  • experimental-utils: export RuleCreator interfaces (#​4199) (7821e4c)
  • experimental-utils: fix types for eslint-utils (#​4173) (7079de2)
  • scope-manager: support static class blocks (#​4211) (f8e9125)
  • visitor-keys: add missing import assertion keys (#​4178) (9c38b7f)
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

Compare Source

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)
  • landing page title duplication (#​4123) (844c25e)
Features

5.3.1 (2021-11-08)

Note: Version bump only for package @​typescript-eslint/typescript-eslint

v5.3.1

Compare Source

Note: Version bump only for package @​typescript-eslint/typescript-eslint

v5.3.0

Compare Source

Bug Fixes
  • eslint-plugin: ignore private identifiers in explicit-module-boundary-types (#​4046) (80b853d)
  • eslint-plugin: skip seenTypes for unions in isTypeReadonly (#​4043) (6af7ca7)
  • experimental-utils: add name property to test case interface (#​4067) (f3021c9)
Features
  • eslint-plugin: [no-shadow] exclude external type declaration merging (#​3959) (a93cebf)
  • experimental-utils: extract isTokenOfTypeWithConditions out of ast-utils' predicates (#​3977) (5229597)

v5.2.0

Compare Source

Bug Fixes
Features

v5.1.0

Compare Source

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)
  • typescript-estree: support private optional property definition (#​3997) (8605e08)
Features
  • experimental-utils: extract ast-utils' predicates' helpers (#​3976) (154ec9a)

v5.0.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-member-accessibility] report TSAbstractPropertyDefinition and TSAbstractMethodDefinition 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)
  • experimental-utils: fix isSetter's return type (#​3975) (d256856)
  • typescript-estree: change source of ExportNamedDeclaration to Literal from Expression (#​3763) (dc5a0f5)
Features
BREAKING CHANGES
  • eslint-plugin: ban-types no longer reports object by default

Renovate configuration

📅 Schedule: 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 this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant