Skip to content

Commit

Permalink
Disallow important (#97)
Browse files Browse the repository at this point in the history
Not sure why this wasn't in our config until now.
  • Loading branch information
robbevp authored Aug 1, 2024
1 parent 30d1cd8 commit 189524f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions stylelint-config/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
extends: ["stylelint-config-standard"],
plugins: ["stylelint-prettier", "stylelint-order"],
rules: {
"declaration-no-important": true,
"prettier/prettier": true,
"selector-class-pattern": BEMPattern,
"order/order": selectorOrdering,
Expand Down
1 change: 1 addition & 0 deletions stylelint-config/scss.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
extends: ["stylelint-config-standard-scss", "stylelint-prettier/recommended"],
plugins: ["stylelint-order"],
rules: {
"declaration-no-important": true,
"no-invalid-position-at-import-rule": [
true,
{
Expand Down

0 comments on commit 189524f

Please sign in to comment.