Open ryamakuchi opened 5 years ago
CSS で !important; を使っても Stylelint エラーにならない。 !important; を使ってしまうとスタイルの優先順位が問答無用で高くなってしまいあまり良くないため、Stylelint の設定をしたい。
!important;
https://github.com/stylelint/stylelint/tree/master/lib/rules/declaration-no-important
解決したい問題
CSS で
!important;
を使っても Stylelint エラーにならない。!important;
を使ってしまうとスタイルの優先順位が問答無用で高くなってしまいあまり良くないため、Stylelint の設定をしたい。問題を解決するために
この Issue の完了条件
!important;
を使うと Lint エラーが出ること参考
https://github.com/stylelint/stylelint/tree/master/lib/rules/declaration-no-important