Skip to content

Commit

Permalink
build: upgrade to stylelint 14
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Oct 31, 2021
1 parent f349a06 commit 9edbfac
Show file tree
Hide file tree
Showing 3 changed files with 447 additions and 627 deletions.
10 changes: 7 additions & 3 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"plugins": ["stylelint-order", "stylelint-scss"],
"extends": ["stylelint-config-standard-scss"],
"plugins": ["stylelint-order"],
"rules": {
"order/order": ["custom-properties", "declarations"],
"order/properties-alphabetical-order": true,
Expand All @@ -8,6 +9,8 @@
"scss/dollar-variable-first-in-block": [true, { "ignore": ["comments", "imports"] }],
"scss/dollar-variable-pattern": "^(example|utrecht)-[a-z0-9-]+$",
"scss/percent-placeholder-pattern": "^(example|utrecht)-[a-z0-9-]+$",
"scss/operator-no-newline-after": null,
"scss/at-extend-no-missing-placeholder": null,
"custom-property-pattern": "^(example|utrecht)-[a-z0-9-]+$",
"selector-class-pattern": "^(example|utrecht)-[a-z0-9_-]+$",
"keyframes-name-pattern": "^(example|utrecht)-[a-z0-9-]+$",
Expand All @@ -19,7 +22,6 @@
"declaration-block-no-shorthand-property-overrides": [true],
"font-family-no-duplicate-names": [true],
"font-family-no-missing-generic-family-keyword": [true],
"function-calc-no-invalid": [true],
"function-calc-no-unspaced-operator": [true],
"function-linear-gradient-no-nonstandard-direction": [true],
"keyframe-declaration-no-important": [true],
Expand Down Expand Up @@ -146,6 +148,8 @@
"selector-max-empty-lines": null,
"media-feature-name-case": null,
"at-rule-name-case": null,
"string-quotes": null
"string-quotes": null,
"property-no-vendor-prefix": null,
"declaration-block-no-redundant-longhand-properties": null
}
}
Loading

0 comments on commit 9edbfac

Please sign in to comment.