Skip to content

Change Request: support CSS-in-JS #30

@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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Evaluating

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions