master-co / css

The CSS Language and Framework

Home Page:https://css.master.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

✨ ESLint: Recommended Syntax Warnings

1aron opened this issue · comments

commented

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>