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

Update typescript-eslint monorepo to v5 (major) #28

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 26, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin ^4.3.0 -> ^5.0.0 age adoption passing confidence
@typescript-eslint/parser ^4.3.0 -> ^5.0.0 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v5.60.0

Compare Source

Features
  • eslint-plugin: [restrict-plus-operands] add allow* options (#​6161) (def09f8)

5.59.11 (2023-06-12)

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

5.59.10 (2023-06-12)

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

5.59.9 (2023-06-05)

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

5.59.8 (2023-05-29)

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

5.59.7 (2023-05-22)

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

5.59.6 (2023-05-15)

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

5.59.5 (2023-05-08)

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

5.59.4 (2023-05-08)

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

5.59.3 (2023-05-08)

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

5.59.2 (2023-05-01)

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

5.59.1 (2023-04-24)

Bug Fixes
  • eslint-plugin: [prefer-regexp-exec] skip malformed regexes (#​6935) (05ed60e)
  • eslint-plugin: [unified-signatures] no parameters function (#​6940) (2970861)

v5.59.11

Compare Source

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

v5.59.10

Compare Source

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

v5.59.9

Compare Source

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

v5.59.8

Compare Source

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

v5.59.7

Compare Source

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

v5.59.6

Compare Source

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

v5.59.5

Compare Source

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

v5.59.2

Compare Source

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

v5.59.1

Compare Source

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

v5.59.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] allow nullish coalescing for naked type parameter (#​6910) (3e5f858)
Features
  • eslint-plugin: [ban-types] add NonNullable suggestion and allow custom suggestions (#​6876) (ff65235)

v5.58.0

Compare Source

Bug Fixes
  • eslint-plugin: [unified-signatures] allow overloads with different named and different number of parameters (#​6877) (939d665)
Features

5.57.1 (2023-04-03)

Bug Fixes
  • eslint-plugin: [strict-boolean-expressions] support mixed enums in allowNullableEnum option (#​6740) (49be8a8)

v5.57.1

Compare Source

Bug Fixes
  • eslint-plugin: [strict-boolean-expressions] support mixed enums in allowNullableEnum option (#​6740) (49be8a8)

v5.57.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] simplify fixer and add support for double negation (#​6620) (81c8519)
  • eslint-plugin: correct crashes with getTypeArguments for ts < 3.7 (#​6767) (59eab58)
Features
  • eslint-plugin: [consistent-type-assertions] add suggestions for objectLiteralTypeAssertions (#​6642) (720e811)
  • eslint-plugin: [consistent-type-assertions] autofix angle bracket assertions to as (#​6641) (ad8ea64)
  • eslint-plugin: add no-duplicate-type-constituents rule (#​5728) (bc31078)

v5.56.0

Compare Source

Bug Fixes
  • eslint-plugin: [member-ordering] check order when optionalityOrder is present with no optional members (#​6619) (6aff431)
  • eslint-plugin: [no-misused-promises] avoid unnecessary calls to getContextualType (#​6193) (745cfe4)
  • eslint-plugin: [no-misused-promises] fix incorrect detection of void functions in JSX attributes (#​6638) (9e41cee)
  • eslint-plugin: [strict-boolean-expression] support falsy and truthy literals simultaneously (#​6672) (62ef487)
  • eslint-plugin: [strict-boolean-expressions] handle truthy enums (#​6618) (0d0639f)
  • eslint-plugin: add TSPropertySignature with TSFunctionType annotation to typeMethod selector (#​6645) (3fc5c63)
Features
  • eslint-plugin: add allowNever support to restrict-template-expressions (#​6554) (423f164)

v5.55.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-confusing-void-expression] check sequence expressions for void is in last position (#​6597) (d73d7d3)
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] fixer should handle parentheses (#​6569) (2d8c196)
Features

5.54.1 (2023-03-06)

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

v5.54.1

Compare Source

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

v5.54.0

Compare Source

Features
  • eslint-plugin: [promise-function-async] check for promises in implicit return types (#​6330) (de1e5ce), closes #​6329

v5.53.0

Compare Source

Features
  • eslint-plugin: [consistent-generic-constructors] handle default parameters (#​6484) (e8cebce)
  • eslint-plugin: [no-mixed-enums] add rule (#​6102) (16144d1)

v5.52.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-import-type-side-effects] correctly ignore zero-specifier imports (#​6444) (d5a6688)
  • eslint-plugin: [no-unnecessary-condition] account for optional chaining on potentially void values (#​6432) (e1d9c67), closes #​5255
  • eslint-plugin: [no-unnecessary-condition] fix false positive when checking indexed access types (#​6452) (d569924)
  • eslint-plugin: fix key-spacing when type starts on next line (#​6412) (3eb2eed)
Features
  • eslint-plugin: [block-spacing] extending base rule for TS related blocks (#​6195) (b2db3f5)
  • eslint-plugin: [explicit-function-return-type] add allowFunctionsWithoutTypeParameters option (#​6105) (113640e)
  • eslint-plugin: [explicit-function-return-type] add allowIIFEs option (#​6237) (a1b3f7b)

v5.51.0

Compare Source

Bug Fixes
Features
  • eslint-plugin: [naming-convention] improve performance by removing unnecessary selectors (#​6376) (3647a1c)
  • eslint-plugin: [no-floating-promises] error on logical expression (#​6356) (f330e06)
  • eslint-plugin: [no-import-type-side-effects] add rule to warn against runtime side effects with verbatimModuleSyntax (#​6394) (b14d3be)
  • eslint-plugin: [strict-boolean-expressions] add allow nullable enum to strict boolean expressions (#​6096) (d4747cd)

v5.50.0

Compare Source

Bug Fixes
  • eslint-plugin: [ban-ts-comment] counts graphemes instead of String.prototype.length (#​5704) (09d57ce)
  • eslint-plugin: [prefer-optional-chain] fix ThisExpression and PrivateIdentifier errors (#​6028) (85e783c)
  • eslint-plugin: [prefer-optional-chain] fixer produces wrong logic (#​5919) (b0f6c8e), closes #​1438
Features
  • eslint-plugin: add key-spacing rule extension for interface & type declarations (#​6211) (67706e7)

v5.49.0

Compare Source

Features
  • eslint-plugin: [naming-convention] add support for #private modifier on class members (#​6259) (c8a6d80)

5.48.2 (2023-01-16)

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

5.48.1 (2023-01-09)

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

v5.48.2

Compare Source

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

v5.48.1

Compare Source

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

v5.48.0

Compare Source

Features
  • eslint-plugin: specify which method is unbound and added test case (#​6281) (cf3ffdd)

5.47.1 (2022-12-26)

Bug Fixes
  • ast-spec: correct some incorrect ast types (#​6257) (0f3f645)
  • eslint-plugin: [member-ordering] correctly invert optionalityOrder (#​6256) (ccd45d4)

v5.47.1

Compare Source

Bug Fixes
  • ast-spec: correct some incorrect ast types (#​6257) (0f3f645)
  • eslint-plugin: [member-ordering] correctly invert optionalityOrder (#​6256) (ccd45d4)

v5.47.0

Compare Source

Features
  • eslint-plugin: [no-floating-promises] add suggestion fixer to add an 'await' (#​5943) (9e35ef9)

5.46.1 (2022-12-12)

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

v5.46.1

Compare Source

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

v5.46.0

Compare Source

Bug Fixes
  • eslint-plugin: [ban-types] update message to suggest object instead of Record<string, unknown> (#​6079) (d91a5fc)
Features
  • eslint-plugin: [prefer-nullish-coalescing] logic and test for strict null checks (#​6174) (8a91cbd)

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)

v5.45.1

Compare Source

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)

v5.45.0

Compare Source

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)
Features
  • eslint-plugin: [member-ordering] add a required option for required vs. optional member ordering (#​5965) (2abadc6)

v5.44.0

Compare Source

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
  • eslint-plugin: [adjacent-overload-signatures] check BlockStatement nodes (#​5998) (97d3e56)
  • eslint-plugin: [keyword-spacing] Support spacing in import-type syntax (#​5977) (6a735e1)

v5.43.0

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

v5.42.1

Compare Source

Bug Fixes

v5.42.0

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)

v5.41.0

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

v5.40.1

Compare Source

Bug Fixes
  • eslint-plugin: Skip missing 'rest' tuple type arguments in no-misused-promises (#​5809) (c5beaa2), closes #​5807

v5.40.0

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

v5.39.0

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

v5.38.1

Compare Source

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

v5.38.0

Compare Source

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

v5.37.0

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

v5.36.2

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)

v5.36.1

Compare Source

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

v5.36.0

Compare Source

Bug Fixes
Features

5.35.1 (2022-08-24)

Bug Fixes
  • eslint-plugin: correct rule schemas to pass ajv validation (#​5531) (dbf8b56)

v5.35.1

Compare Source

Bug Fixes
  • eslint-plugin: correct rule schemas to pass ajv validation (#​5531) (dbf8b56)

v5.35.0

Compare Source

Features
  • eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#​5492) (0edb94a)

v5.34.0

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)

v5.33.1

[Co


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.

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 8fe97de to 749ed76 Compare November 20, 2022 07:21
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.

0 participants