Skip to content

Commit

Permalink
perf: update .stylelint to be same as generator's
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-mota committed Nov 14, 2024
1 parent 8ab7106 commit a07ed07
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": ["stylelint-config-recommended", "stylelint-config-standard-scss"],
"extends": ["stylelint-config-recommended", "stylelint-config-idiomatic-order", "stylelint-config-standard-scss"],
"plugins": [
"stylelint-scss"
],
Expand All @@ -9,7 +9,7 @@
"except": [
"after-same-name",
"blockless-after-same-name-blockless",
"first-nested"
"first-nested",
],
"ignore": [
"after-comment",
Expand All @@ -22,7 +22,7 @@
"declaration-block-no-duplicate-custom-properties": true,
"declaration-block-no-duplicate-properties": true,
"declaration-block-no-redundant-longhand-properties": true,
"declaration-empty-line-before": null,
"declaration-no-important": true,
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "numeric",
"function-url-no-scheme-relative": true,
Expand All @@ -33,7 +33,6 @@
"no-empty-source": null,
"no-unknown-animations": true,
"no-invalid-position-at-import-rule": null,
"selector-class-pattern": null,
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
"scss/at-else-closing-brace-space-after": "always-intermediate",
"scss/at-else-empty-line-before": "never",
Expand Down Expand Up @@ -82,10 +81,11 @@
"scss/operator-no-newline-after": true,
"scss/operator-no-newline-before": true,
"scss/operator-no-unspaced": true,
"scss/percent-placeholder-pattern": null,
"scss/selector-nest-combinators": "always",
"scss/selector-no-redundant-nesting-selector": true,
"selector-attribute-quotes": "always",
"selector-class-pattern": "^[a-z][a-zA-Z0-9]+$",
"selector-id-pattern": "^[a-z][a-zA-Z0-9]+$",
"selector-max-attribute": 1,
"selector-max-class": 1,
"selector-max-combinators": 1,
Expand Down

0 comments on commit a07ed07

Please sign in to comment.