Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS の !important; を禁止するよう Stylelint の設定を変更する #189

Open
3 tasks
ryamakuchi opened this issue Oct 1, 2019 · 0 comments
Open
3 tasks

Comments

@ryamakuchi
Copy link
Collaborator

解決したい問題

CSS で !important; を使っても Stylelint エラーにならない。
!important; を使ってしまうとスタイルの優先順位が問答無用で高くなってしまいあまり良くないため、Stylelint の設定をしたい。

問題を解決するために

  • Stylelint の設定を調査する
  • Stylelint の設定をする

この Issue の完了条件

  • CSS で !important; を使うと Lint エラーが出ること

参考

https://github.com/stylelint/stylelint/tree/master/lib/rules/declaration-no-important

@ryamakuchi ryamakuchi self-assigned this Oct 1, 2019
@ryamakuchi ryamakuchi added this to To do in 本番サイト Phase 2 via automation Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant