Skip to content

use relative path for import in generated ESLint Config #395

@chunglam2525

Description

@chunglam2525

Describe the feature

Currently the generated eslint config .nuxt/eslint.config.mjs use absolute path for import.
This behaviour raise a problem when working with Docker Container and having .nuxt folder COPY from container to local.

Screenshot below shows the generated eslint config.
Screenshot 2024-04-16 at 5 50 08 PM

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

Metadata

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