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 to v6 (main) - autoclosed #173233

Closed
wants to merge 20 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 12, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin (source) ^5.62.0 -> ^6.13.2 age adoption passing confidence
@typescript-eslint/parser (source) ^5.62.0 -> ^6.13.2 age adoption passing confidence
@typescript-eslint/typescript-estree (source) ^5.62.0 -> ^6.13.2 age adoption passing confidence
@typescript-eslint/utils (source) 5.62.0 -> 6.13.2 age adoption passing confidence

Release Notes

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

v6.13.2

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.13.1

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.13.0

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.12.0

Compare Source

Bug Fixes
  • eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if ignoreClassesThatImplementAnInterface is set (#​7705) (155aa1f)
  • eslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type (#​7706) (f151b26)
  • eslint-plugin: [switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly (#​7806) (a034d0a), closes #​7768
Features
  • [member-ordering] add accessor support for member-ordering (#​7927) (3c8312d)
  • eslint-plugin: [switch-exhaustiveness-check] add requireDefaultForNonUnion option (#​7880) (4cfcd45)

You can read about our versioning strategy and releases on our website.

v6.11.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-function-return-type] support JSX attributes in allowTypedFunctionExpressions (#​7553) (be2777c)
  • eslint-plugin: [no-unnecessary-qualifier] handle nested namespace id (#​7883) (a668f5b)
Features

You can read about our versioning strategy and releases on our website.

v6.10.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unused-vars] handle logical assignment (#​7854) (11e57c5)
  • eslint-plugin: [require-await] add support for "await using" (#​7866) (855abea)
Features
  • eslint-plugin: [ban-ts-comments] suggest ts-expect-error over ts-ignore (#​7849) (5e73a48)

You can read about our versioning strategy and releases on our website.

6.9.1 (2023-10-30)

Bug Fixes
  • eslint-plugin: [naming-convention] allow PascalCase for imports (#​7841) (7ad86ee)
  • eslint-plugin: [no-unused-expressions] handle TSInstantiationExpression expression (#​7831) (31988e0)

You can read about our versioning strategy and releases on our website.

v6.9.1

Compare Source

Bug Fixes
  • eslint-plugin: [naming-convention] allow PascalCase for imports (#​7841) (7ad86ee)
  • eslint-plugin: [no-unused-expressions] handle TSInstantiationExpression expression (#​7831) (31988e0)

You can read about our versioning strategy and releases on our website.

v6.9.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-confusing-void-expression] handle unfixable cases (#​7674) (7e52f27)
  • eslint-plugin: [no-unsafe-return] allow returning anything if explicitly returning any (#​7708) (c6124b2)
Features
  • eslint-plugin: [max-params] don't count this: void parameter (#​7696) (6398d3f), closes #​7538
  • eslint-plugin: [naming-convention] add support for default and namespace imports (#​7269) (bb15aae)
  • eslint-plugin: [no-restricted-imports] support import = require (#​7709) (4c8edcf)
  • eslint-plugin: [no-unsafe-enum-comparison] add switch suggestion (#​7691) (53d5263), closes #​7643
  • eslint-plugin: [prefer-readonly] private fields support (#​7686) (0e875bf)

You can read about our versioning strategy and releases on our website.

v6.8.0

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-type-imports] import assertion checks added (#​7722) (afdae37)
  • eslint-plugin: [no-shadow] fix static class generics for class expressions (#​7724) (e5ea1d0)
  • eslint-plugin: [no-unsafe-member-access] report on only the accessed property (#​7717) (f81a2da)
  • eslint-plugin: [no-useless-empty-export] exempt .d.ts (#​7718) (ac397f1)
Features
  • eslint-plugin: add new extended rule prefer-destructuring (#​7117) (3c6379b)

You can read about our versioning strategy and releases on our website.

6.7.5 (2023-10-09)

Bug Fixes
  • eslint-plugin: [prefer-string-starts-ends-with] only report slice/substring with correct range (#​7712) (db40a0a)

You can read about our versioning strategy and releases on our website.

6.7.4 (2023-10-02)

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

You can read about our versioning strategy and releases on our website.

6.7.3 (2023-09-25)

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

You can read about our versioning strategy and releases on our website.

6.7.2 (2023-09-18)

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

You can read about our versioning strategy and releases on our website.

6.7.1 (2023-09-18)

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

You can read about our versioning strategy and releases on our website.

v6.7.5

Compare Source

Bug Fixes
  • eslint-plugin: [prefer-string-starts-ends-with] only report slice/substring with correct range (#​7712) (db40a0a)

You can read about our versioning strategy and releases on our website.

v6.7.4

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.7.3

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.7.2

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.7.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-restricted-imports] disallow side effect imports when allowTypeImports is enabled (#​7560) (4908905)
Features
  • eslint-plugin: [await-thenable] added suggestion fixer (#​7437) (b284370)

You can read about our versioning strategy and releases on our website.

v6.6.0

Compare Source

Bug Fixes
  • eslint-plugin: [key-spacing] consider properties with parens and comments (#​7525) (7012279)

You can read about our versioning strategy and releases on our website.

v6.5.0

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-type-assertions] wrap object return value with parentheses (#​6885) (23ac499)

You can read about our versioning strategy and releases on our website.

6.4.1 (2023-08-21)

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] false positives with branded types (#​7466) (b52658f), closes #​7293

You can read about our versioning strategy and releases on our website.

v6.4.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] false positives with branded types (#​7466) (b52658f), closes #​7293

You can read about our versioning strategy and releases on our website.

v6.4.0

Compare Source

Bug Fixes
  • eslint-plugin: [non-nullable-type-assertion-style] consider operator precedence when fixing (#​7289) (bad37a2)
  • eslint-plugin: [strict-boolean-expressions] replace dangerous fixer with suggestions (#​7394) (ad8401a)

You can read about our versioning strategy and releases on our website.

v6.3.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-extra-parens] keep parens around call expression arguments when type arguments contain parens (#​7375) (38e5e4e)
  • eslint-plugin: [no-restricted-imports] allow inline type qualifiers when allowTypeImports enabled (#​7379) (cc9a46d)
Features
  • eslint-plugin: [prefer-nullish-coalescing] allow ignorePrimitives option to be true (#​7331) (dfcafae)
Reverts

You can read about our versioning strategy and releases on our website.

6.2.1 (2023-07-31)

Bug Fixes
  • eslint-plugin: [no-inferrable-types] apply also for parameter properties (#​7288) (67f93b1)
  • scope-manager: correct decorators(.length) check in ClassVisitor for methods (#​7334) (abbb6c2)

You can read about our versioning strategy and releases on our website.

v6.2.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-inferrable-types] apply also for parameter properties (#​7288) (67f93b1)
  • scope-manager: correct decorators(.length) check in ClassVisitor for methods (#​7334) (abbb6c2)

You can read about our versioning strategy and releases on our website.

v6.2.0

Compare Source

Bug Fixes
  • eslint-plugin: [member-ordering] account for repeated names (#​6864) (d207b59)
  • eslint-plugin: [no-unsafe-enum-comparison] exempt bit shift operators (#​7074) (b3e0e75)
  • eslint-plugin: [prefer-nullish-coalescing] handle case when type of left side is null or undefined (#​7225) (b62affe)
  • eslint-plugin: use a default export for the rules type (#​7266) (af77a1d)
Features
  • eslint-plugin: [class-methods-use-this] add extension rule (#​6457) (18ea3b1)
  • eslint-plugin: sync getFunctionHeadLoc implementation with upstream (#​7260) (f813147)

You can read about our versioning strategy and releases on our website.

v6.1.0

Compare Source

Bug Fixes
  • eslint-plugin: [comma-dangle] fixed crash from undefined predicate.ignore (#​7223) (d368164)
  • eslint-plugin: [no-floating-promises] false negative calling .then with second argument undefined (#​6881) (606a52c), closes #​6850
  • eslint-plugin: [no-floating-promises] finally should be transparent to unhandled promises (#​7092) (2a4421c)
  • eslint-plugin: [no-unnecessary-type-constraint] correctly fix in cts/mts files (#​6795) (1404796)
  • eslint-plugin: [no-unused-vars] check if any variable definition is exported (#​6873) (587ac30), closes #​6188
  • eslint-plugin: fix schemas across several rules and add schema tests (#​6947) (dd31bed)
  • eslint-plugin: include the rules types in the package (#​7215) (a3da11d)
Features
  • typescript-estree: add EXPERIMENTAL_useProjectService option to use TypeScript project service (#​6754) (6d3d162)

You can read about our versioning strategy and releases on our website.

v6.0.0

Compare Source

Bug Fixes
  • bumped ts-api-utils to 0.0.39 (#​6497) (217c710)
  • correct handling of additionalProperties in object schemas (#​6939) (489c7a5)
  • correct lint error after merge (277fdb5)
  • eslint-plugin: [explicit-module-boundary-types] remove shouldTrackReferences option from schema (#​5399) (6d32734)
  • eslint-plugin: allow parser@^6.0.0 (#​6630) (92908bd)
  • eslint-plugin: remove valid-typeof disable in eslint-recommended (#​5381) (b82df5e)
  • fix illegal decorator check (#​6723) (c456f8c)
  • rename typeParameters to typeArguments where needed (#​5384) (08d757b)
  • replace tsutils with ts-api-tools (#​6428) (79327b4)
  • type-utils: treat intrinsic types as if they are from lib and never match error types (#​6869) (ecb57de)
  • typescript-estree: account for namespace nesting in AST conversion (#​6272) (09e3877)
  • update exports field in package.json files (#​6550) (53776c2)
chore
Features
BREAKING CHANGES
  • eslint-plugin: Adds an additional class of checks to the rule
  • drop support for ESLint v6
  • drops support for node v17
  • Bumps the minimum supported range and removes handling for old versions
  • drops support for node v12

You can read about our versioning strategy and releases on our website.

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

v6.13.2

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.13.1

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.13.0

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.12.0

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.11.0

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.10.0

Compare Source

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

You can read about our versioning strategy and releases on our website.

6.9.1 (2023-10-30)

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

You can read about our versioning strategy and releases on our website.

v6.9.1

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.9.0

Compare Source

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

You can read about our versioning strategy and releases on our website.

v6.8.0

Compare Source

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

You can read about our versioning strategy and releases on our website.

6.7.5 (2023-10-09)

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

You can read about our versioning strategy and releases on our website.

6.7.4 (2023-10-02)

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

You can read about our versioning strategy and releases on our website.

6.7.3 (2023-09-25)

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

You can read about our versioning strategy and releases on our website.

6.7.2 (2023-09-18)

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

You can read about our [versioning strategy](http


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 added release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team labels Dec 12, 2023
@renovate renovate bot requested a review from a team December 12, 2023 22:02
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@renovate renovate bot requested a review from a team as a code owner December 12, 2023 22:38
Copy link
Contributor Author

renovate bot commented Dec 12, 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.

@renovate renovate bot requested a review from a team as a code owner January 24, 2024 15:33
@jbudz
Copy link
Member

jbudz commented Jan 24, 2024

buildkite test this

@jbudz
Copy link
Member

jbudz commented Jan 24, 2024

buildkite test this

Copy link
Member

@wayneseymour wayneseymour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why my team was pinged, based on the codeowners file, but LGTM

@jbudz
Copy link
Member

jbudz commented Apr 23, 2024

buildkite test this

@jbudz
Copy link
Member

jbudz commented Apr 23, 2024

buildkite test this

@jbudz
Copy link
Member

jbudz commented Apr 24, 2024

buildkite test this

@jbudz
Copy link
Member

jbudz commented Apr 24, 2024

buildkite test this

@renovate renovate bot requested review from a team as code owners April 24, 2024 18:15
@kibana-ci
Copy link
Collaborator

kibana-ci commented Apr 24, 2024

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #1 / @kbn/eslint/no_export_all invalid export * as baz from './baz';
    export * from './foo';
  • [job] [logs] Jest Tests #1 / @kbn/eslint/no_export_all invalid export * as baz from './baz';
    export * from './foo';

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
osquery 115 108 -7

Total ESLint disabled count

id before after diff
osquery 116 109 -7

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@michaelolo24 michaelolo24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Investigations changes, LGTM!

@nuugen nuugen closed this Aug 30, 2024
@nuugen
Copy link
Member

nuugen commented Aug 30, 2024

Closing in favour of PRs to be opened by Self-Hosted Renovate.

@nuugen nuugen changed the title Update typescript-eslint to v6 (main) Update typescript-eslint to v6 (main) - autoclosed Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants