Skip to content

fix: make ESLint usable for Vue wrappers and library code #13

@ubugeeei

Description

@ubugeeei

Finding

Running ESLint directly produces 197 errors and 28 warnings. Some are real React purity issues, but others are rule-scope mismatches such as React Hooks rules firing inside Vue setup wrappers.

Evidence

  • npm exec eslint -- . reports react-hooks/rules-of-hooks in src/lib/vue.tsx setup functions.
  • It also reports React Compiler purity/refs errors in Studio/render UI and many no-explicit-any/no-unused-vars issues.

Acceptance criteria

  • Scope React-specific lint rules to React component files where they are meaningful.
  • Keep real correctness rules enabled for React UI.
  • Add a lint script only once it can pass in CI.

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