Skip to content

npm run lint is broken #47

@EGJ-Moorington

Description

@EGJ-Moorington

Running the command npm run lint returns the following error:

ESLint: 8.57.1

TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Object'
| property 'configs' -> object with constructor 'Object'
| property 'flat/recommended-module' -> object with constructor 'Object'
| property 'plugins' -> object with constructor 'Object'
--- property 'n' closes the circle
Referenced from: C:\...\aside-test\.eslintrc.json

This can be fixed by pinning the package gts to a version older than v7.0.0, which switched to the new eslint config format. This is all probably fixed by #46, since pinning to that version works fine. Thanks to @ryohidaka for finding a fix for this issue!

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