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

⬆️ Updates typescript-eslint monorepo to v5 (major) #651

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.15.0 -> ^5.0.0 age adoption passing confidence
@typescript-eslint/parser ^4.15.0 -> ^5.0.0 age adoption passing confidence
@typescript-eslint/typescript-estree ^4.17.0 -> ^5.0.0 age adoption passing confidence

Release Notes

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

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

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)

v5.33.0

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)

v5.32.0

Compare Source

Features
  • eslint-plugin: [no-use-before-define] add "allowNamedExports" option (#​5397) (ad412cd)

v5.31.0

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)

v5.30.7

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)

v5.30.6

Compare Source

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

v5.30.5

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value (#​5280) (57f032c)

v5.30.4

Compare Source

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

v5.30.3

Compare Source

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

v5.30.2

Compare Source

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

v5.30.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-base-to-string] add missing apostrophe to message (#​5270) (d320174)

v5.30.0

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)

v5.29.0

Compare Source

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

v5.28.0

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)

[v5.27.1](https://togithub.com/typescript-eslint/t


Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Moscow, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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.

Signed-off-by: Renovate Bot <bot@renovateapp.com>
@changelogg
Copy link

changelogg bot commented Mar 26, 2022

Hey! Changelogs info seems to be missing or might be in incorrect format.
Please use the below template in PR description to ensure Changelogg can detect your changes:
- (tag) changelog_text
or
- tag: changelog_text
OR
You can add tag in PR header or while doing a commit too
(tag) PR header
or
tag: PR header
Valid tags: added / feat, changed, deprecated, fixed / fix, removed, security, build, ci, chore, docs, perf, refactor, revert, style, test
Thanks!
For more info, check out changelogg docs

@viezly
Copy link

viezly bot commented Mar 26, 2022

Pull request by bot. No need to analyze

@github-actions
Copy link

Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md.

@github-actions
Copy link

Hello from PR Helper

Is your PR ready for review and processing? Mark the PR ready by including #pr-ready in a comment.

If you still have work to do, even after marking this ready. Put the PR on hold by including #pr-onhold in a comment.

@github-actions
Copy link

Thanks for the PR!

This section of the codebase is owner by https://github.com/AlexRogalskiy/ - if they write a comment saying "LGTM" then it will be merged.

@renovate
Copy link
Author

renovate bot commented Mar 27, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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

Successfully merging this pull request may close these issues.

None yet

1 participant