devunt / devunt/eslint-plugin-unocss

Sir, is there any way to make the class names in class wrap to new lines?

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
84
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Sir, is there any way to make the class names in class wrap to new lines?
For example, it turns out to be class="relative m-x-2 h-120 w-110 bg-#131313 text-80 font-bold" and I want to force it to
class="
relative
m-x-2
h-120
w-110
bg-#131313
text-80
font-bold"

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name a file, test, or entry point. Start by locating the ESLint rule that processes UnoCSS class names and determine whether it owns formatting changes; done should mean class names can be emitted on separate lines as shown, with coverage for the requested formatting.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.