Skip to content

Commit

Permalink
Update stylelint (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread authored Dec 25, 2023
1 parent 887357f commit c4b8195
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 842 deletions.
42 changes: 21 additions & 21 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "stylelint-config-recommended",
"plugins": [
"stylelint-stylistic"
"@stylistic/stylelint-plugin"
],
"ignoreFiles": [
"ext/lib/**/*.css"
Expand Down Expand Up @@ -33,30 +33,30 @@
}
],

"stylistic/block-opening-brace-space-after": "always-single-line",
"stylistic/block-opening-brace-space-before": [
"@stylistic/block-opening-brace-space-after": "always-single-line",
"@stylistic/block-opening-brace-space-before": [
"always",
{
"ignoreSelectors": "/^\\.icon/"
}
],
"stylistic/color-hex-case": "lower",
"stylistic/declaration-colon-space-after": "always-single-line",
"stylistic/declaration-colon-space-before": "never",
"stylistic/function-comma-space-after": "always",
"stylistic/function-comma-space-before": "never",
"stylistic/function-parentheses-space-inside": "never",
"stylistic/function-whitespace-after": "always",
"stylistic/indentation": 4,
"stylistic/max-empty-lines": 2,
"stylistic/no-extra-semicolons": true,
"stylistic/number-leading-zero": "always",
"stylistic/number-no-trailing-zeros": true,
"stylistic/property-case": "lower",
"stylistic/selector-combinator-space-after": "never",
"stylistic/selector-combinator-space-before": "never",
"stylistic/selector-list-comma-newline-after": "always-multi-line",
"stylistic/string-quotes": "single",
"stylistic/unit-case": "lower"
"@stylistic/color-hex-case": "lower",
"@stylistic/declaration-colon-space-after": "always-single-line",
"@stylistic/declaration-colon-space-before": "never",
"@stylistic/function-comma-space-after": "always",
"@stylistic/function-comma-space-before": "never",
"@stylistic/function-parentheses-space-inside": "never",
"@stylistic/function-whitespace-after": "always",
"@stylistic/indentation": 4,
"@stylistic/max-empty-lines": 2,
"@stylistic/no-extra-semicolons": true,
"@stylistic/number-leading-zero": "always",
"@stylistic/number-no-trailing-zeros": true,
"@stylistic/property-case": "lower",
"@stylistic/selector-combinator-space-after": "never",
"@stylistic/selector-combinator-space-before": "never",
"@stylistic/selector-list-comma-newline-after": "always-multi-line",
"@stylistic/string-quotes": "single",
"@stylistic/unit-case": "lower"
}
}
Loading

0 comments on commit c4b8195

Please sign in to comment.