Skip to content

Change Request: support CSS-in-JS #30

Open
@rakleed

Description

@rakleed

Environment

Node version: v22.11.0
npm version: v10.9.0
Local ESLint version: v9.16.0 (Currently used)
Global ESLint version: Not found
Operating System: darwin 24.1.0

What problem do you want to solve?

I'd like the plugin to work for CSS-in-JS solutions like styled-components, emotion, linaria and React inline styles.

What do you think is the correct solution?

In stylelint, you can use PostCSS parser for that purpose. Here is an example: https://github.com/hudochenkov/postcss-styled-syntax

So I guess #29 is related

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    • Status

      Evaluating

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions