Skip to content

Bug: Type 'ConfigArray' has no properties in common with type 'Config<RulesRecord>'. #10872

Closed as not planned
@cylewaitforit

Description

@cylewaitforit

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have searched for related issues and found none that matched my issue.
  • I have read the FAQ and my problem is not listed.

Relevant Package

typescript-eslint

Playground Link

No response

Repro Code

// eslint.config.ts
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import type { Linter } from "eslint";

export default [
  eslint.configs.recommended,
  tseslint.configs.recommended,
] satisfies Linter.Config[];

ESLint Config

// eslint.config.ts
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import type { Linter } from "eslint";

export default [
  eslint.configs.recommended,
  tseslint.configs.recommended,
] satisfies Linter.Config[];

tsconfig

Expected Result

When using eslint.config.ts file expect tseslint.configs.recommended to satisfy Linter.Config[].

Actual Result

Type 'ConfigArray' has no properties in common with type 'Config'.

Additional Info

No response

Versions

package version
typescript-eslint 8.24.1
TypeScript 5.7.3
ESLint 9.21.0
jiti 2.4.2
node 22.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: typescript-eslintIssues related to the typescript-eslint packageworking as intendedIssues that are closed as they are working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy