Block the use of !important in our CSS

!important can never be overridden, which is almost never what you
want. Better is to provide either a more specific selector, or
potentially a CSS @layer.

For more information, see
https://developer.mozilla.org/en-US/docs/Web/CSS/important#best_practices
This commit is contained in:
Vincent 2024-05-02 15:18:13 +02:00 коммит произвёл Vincent
Родитель e1742de513
Коммит 83eb7c20e0
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -6,6 +6,7 @@
"stylelint-scss"
],
"rules": {
"declaration-no-important": true,
"selector-class-pattern": [
"^[a-z][a-zA-Z0-9]+$",
{