Skip to content

Cannot set svelte3/ignore-styles to true when using eslintrc.json #43

Open
@radarsh

Description

@radarsh

In my project, we use the JSON config for ESLint and using it seems impossible to set svelte3/ignore-styles to true.

"settings": {
    "svelte3/ignore-styles": true
}

Gives me:

TypeError: processor_options.ignore_styles is not a function

From looking at the code, it seems that an assumption is made that svelte3/ignore-styles is always going to be a function, which clearly is impossible to specify using JSON config (eslintrc.json).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions