Skip to content

v0.3.0 has compatibility issues with ESLint 9 #294

@sjaakbanaan

Description

@sjaakbanaan

As soon as i import panda config in my flat config, i get tons of errors like these:

2026-01-12 20:56:31.624 [error] Error in findDeclaration: TypeError: Cannot read properties of undefined (reading 'forEach')
2026-01-12 20:56:31.624 [error]     at Referencer.visitFunction (file:///Users/xxxxxx/Sites/project-name/frontend/node_modules/@pandacss/eslint-plugin/dist/index.mjs:7257:28)
2026-01-12 20:56:31.624 [error]     at Referencer.ArrowFunctionExpression (file:///Users/xxxxxx/Sites/project-name/frontend/node_modules/@pandacss/eslint-plugin/dist/index.mjs:7290:14)
2026-01-12 20:56:31.624 [error]     at Referencer.visit (file:///Users/xxxxxx/Sites/project-name/frontend/node_modules/@pandacss/eslint-plugin/dist/index.mjs:6386:19)
2026-01-12 20:56:31.624 [error]     at Referencer.VariableDeclaration (file:///Users/xxxxxx/Sites/project-name/frontend/node_modules/@pandacss/eslint-plugin/dist/index.mjs:7562:16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions