Skip to content

feat: vue-scoped-css/require-scoped to acknowledge modules #101

@privatenumber

Description

@privatenumber

Problem

A codebase I'm working in has a mix of scoped styles and CSS modules via modules attribute.

The vue-scoped-css/require-scoped warns on <style module>.

Feature request

I understand this plugin is specifically for scoped CSS, and not CSS modules, but it would be nice if it can acknowledge that there is no violation when doing <style module>.

I'd like to be able to pass in acceptModules as an option to vue-scoped-css/require-scoped, so that it knows not to warn on styles scoped via CSS Modules.


Amazing ESLint plugin as always!

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