Skip to content

New eslint-config with pnpm causes error #270

@xelandernt

Description

@xelandernt

Describe the bug

Changes in #267 now lead to the following error:

eslint --fix


Oops! Something went wrong! :(

ESLint: 9.31.0

Error: Error while loading rule 'pnpm/json-enforce-catalog': pnpm-workspace.yaml not found

Seems to be this configuration.

Steps to reproduce

My setup:

//eslint.config.js
import { tanstackConfig } from '@tanstack/eslint-config'

export default [
  ...tanstackConfig,
]

And I do not use pnpm

eslint .

Expected behavior

No Error

How often does this bug happen?

Every time

Screenshots or Videos

No response

TanStack Config version

@tanstack/eslint-config==0.3.0

TypeScript version

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions