Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .stylelintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ rules:
- slotted
selector-pseudo-element-no-unknown: true
selector-type-no-unknown: true
declaration-block-no-duplicate-properties: true
declaration-block-no-duplicate-properties:
- true
- ignore:
# Allow intentional duplicate properties for progressive enhancement (e.g., vh/dvh fallbacks)
- consecutive-duplicates-with-different-values
declaration-block-no-shorthand-property-overrides: true
'@stylistic/declaration-colon-space-after': always
'@stylistic/declaration-colon-space-before': never
Expand Down Expand Up @@ -97,6 +101,7 @@ rules:
function-url-quotes: null
number-max-precision: null


# SCSS files require postcss-scss as customSyntax
# See: https://github.com/stylelint/stylelint/blob/a57d512dd5f79815a43e996a182b5e2a8154e363/docs/user-guide/configure.md#overrides
overrides:
Expand Down Expand Up @@ -131,3 +136,7 @@ overrides:
scss/at-mixin-parentheses-space-before: never
- files: [ "**/*.vue" ]
customSyntax: postcss-html
rules:
# Turn off config-standard rule in favor of the scss/at-rule-no-unknown rule
at-rule-no-unknown: null
scss/at-rule-no-unknown: true
112 changes: 112 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"stylelint": "16.20.0",
"stylelint-config-standard": "38.0.0",
"stylelint-config-standard-scss": "15.0.1",
"stylelint-scss": "6.12.1"
"stylelint-scss": "6.12.1",
"postcss-html": "1.8.0"
},
"devDependencies": {
"@silvermine/eslint-config": "3.0.1",
Expand Down