✨ ESLint: Recommended Syntax Warnings
1aron opened this issue · comments
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
display:block
.
<div class="display:block"></div>
🟢 Possible fixes: Use the recommended utility block
.
<div class="block"></div>
Recommended keys
t:
.
<div class="t:center"></div>
🟢 Possible fixes: Use the recommended key text:
.
<div class="text:center"></div>