Skip to content

✨ ESLint: Recommended Syntax Warnings #338

@1aron

Description

@1aron

Description

Writing a complete CSS declaration may not look good in class attributes. To simplify the class and unify the team's style, we have proposed a new solution:

Non-utility warnings

⚠️ Avoid writing the full CSS declaration display:block.

<div class="display:block"></div>

🟢 Possible fixes: Use the recommended utility block.

<div class="block"></div>

Recommended keys

⚠️ Not a recommanded key t:.

<div class="t:center"></div>

🟢 Possible fixes: Use the recommended key text:.

<div class="text:center"></div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions