Skip to content

[Bug]: Error when trying to integrate the plugin to the eslint flat config file #6448

Open
@rimakan

Description

Kind of Issue

Question

Tool or Library

cspell/eslint-plugin

Version

8.15.5

Supporting Library

Not sure / None

OS

Linux

OS Version

22.04

Description

The ESLint cannot import @cspell/eslint-plugin for some reason

image

Steps to Reproduce

  1. Migrate ESLint config file (eslintrc.json) to the flat config using ESLint CLI npx @eslint/migrate-config .eslintrc.json
  2. Install the @cspell/eslint-plugin using your package manager (npm or yarn)
  3. Integrate it in the newly created ESLint flat config file using the instuction image
  4. Restart VS Code
  5. Open up the flat config ESLint file and check out ESLint output in VS Code
    image

Expected Behavior

There are no errors

Additional Information

No response

cspell.json

No response

cspell.config.yaml

No response

Example Repository

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions