Skip to content

Commit

Permalink
fix(stylelint-config): update rules
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Feb 3, 2024
1 parent ead6a2f commit 8de91e9
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions projects/stylelint-config/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
"selector-no-qualifying-type": null,
"media-feature-name-no-vendor-prefix": null,
"declaration-property-value-disallowed-list": null,
"custom-property-empty-line-before": null,
"declaration-empty-line-before": null,
"font-family-name-quotes": null,
"alpha-value-notation": "number",
"color-function-notation": "legacy",
Expand Down Expand Up @@ -140,6 +138,22 @@
"shorthand-property-no-redundant-values": [true, {"severity": "warning"}],
"value-no-vendor-prefix": [true, {"severity": "warning"}],
"selector-no-vendor-prefix": [true, {"severity": "warning"}],
"at-rule-no-vendor-prefix": [true, {"severity": "warning"}]
"at-rule-no-vendor-prefix": [true, {"severity": "warning"}],
"custom-property-empty-line-before": [
"always",
{
"except": ["after-custom-property", "first-nested"],
"ignore": ["after-comment"],
"severity": "error"
}
],
"declaration-empty-line-before": [
"always",
{
"except": ["first-nested", "after-declaration"],
"ignore": ["after-comment"],
"severity": "error"
}
]
}
}

0 comments on commit 8de91e9

Please sign in to comment.