Skip to content

Conversation

@fasttime
Copy link
Contributor

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: [eslint]: update to ESLint v9 #69957 (comment)
  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the package.json.

This PR adds Linter.LegacyConfig as an alias for Linter.Config. Linter.LegacyConfig will represent the type for an eslintrc config object in both @types/eslint@8 and @types/eslint@9.

The Linter.Config type represents the default config object type for the targeted version of ESLint, which ist eslintrc config for v8 and flat config for v9. In @types/eslint@9, the eslintrc config type will be only be accessible as Linter.LegacyConfig.

@fasttime fasttime marked this pull request as ready for review July 21, 2024 09:33
@typescript-bot
Copy link
Contributor

typescript-bot commented Jul 21, 2024

@fasttime Thank you for submitting this PR!

This is a live comment that I will keep updated.

1 package in this PR

Code Reviews

Because this is a widely-used package, a DT maintainer will need to review it before it can be merged.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • 🕐 Most recent commit is approved by a DT maintainer

Once every item on this list is checked, I'll ask you for permission to merge and publish the changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 70109,
  "author": "fasttime",
  "headCommitOid": "857fadc2acc1445ba43a0925d5bdf1fe71b92407",
  "mergeBaseOid": "2f8015c1df2007087e2f94587a053fe15533c73a",
  "lastPushDate": "2024-07-21T09:26:58.000Z",
  "lastActivityDate": "2024-07-22T12:54:08.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "eslint",
      "kind": "edit",
      "files": [
        {
          "path": "types/eslint/eslint-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/eslint/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "pmdartus",
        "j-f1",
        "saadq",
        "JasonHK",
        "bradzacher",
        "JounQin",
        "bmish"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "bradzacher",
      "date": "2024-07-22T12:54:08.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 2241544159,
  "ciResult": "pass"
}

@typescript-bot
Copy link
Contributor

🔔 @pmdartus @j-f1 @saadq @JasonHK @bradzacher @JounQin @bmish — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Jul 22, 2024
@jakebailey
Copy link
Member

Moved to #69957.

@jakebailey jakebailey closed this Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Critical package Owner Approved A listed owner of this package signed off on the pull request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants