Skip to content

Causing svg/json "import/extensions" error with v8.0.0 #23

Closed
@horans

Description

@horans

Great work for v8 resolving all the dependency issues, however this had leaded to another issue, that all the imported svg/json files now reported as errors.

error Unexpected use of file extension "svg" for "@/assets/icon/refresh.svg" import/extensions
error Unexpected use of file extension "json" for "./locale/en-US.json" import/extensions

I have to fallback to v7 to make it work again.

BTW, adding @rushstack/eslint-patch is not helping either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions