mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/15980] update styleintrc after upgrade
PHPBB3-15980
This commit is contained in:
parent
a33c2c8d3d
commit
499e79958c
1 changed files with 22 additions and 8 deletions
30
.stylelintrc
30
.stylelintrc
|
@ -1,11 +1,19 @@
|
|||
{
|
||||
"plugins": [
|
||||
"stylelint-scss",
|
||||
"stylelint-order"
|
||||
],
|
||||
"ignoreFiles": [
|
||||
"./phpBB/styles/prosilver/theme/normalize.css",
|
||||
"./src/scss/generic/_normalize.scss",
|
||||
"./src/scss/settings/*.scss"
|
||||
],
|
||||
"rules": {
|
||||
"scss/at-extend-no-missing-placeholder": true,
|
||||
"scss/at-else-empty-line-before": "never",
|
||||
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
|
||||
"scss/dollar-variable-colon-space-before": "never",
|
||||
"scss/selector-no-redundant-nesting-selector": true,
|
||||
|
||||
"at-rule-name-case": "lower",
|
||||
"at-rule-name-newline-after": "always-multi-line",
|
||||
"at-rule-name-space-after": "always-single-line",
|
||||
|
@ -62,7 +70,7 @@
|
|||
"declaration-empty-line-before": "never",
|
||||
|
||||
"declaration-property-unit-blacklist": {
|
||||
"line-height": ["rem", "em", "%"]
|
||||
"line-height": ["rem", "px", "em", "%"]
|
||||
},
|
||||
"declaration-property-unit-whitelist": {
|
||||
"height": ["px", "%", "vh"],
|
||||
|
@ -130,7 +138,7 @@
|
|||
"property-case": "lower",
|
||||
"property-no-unknown": true,
|
||||
|
||||
"rule-empty-line-before": ["always-multi-line", {
|
||||
"rule-empty-line-before": ["always", {
|
||||
"ignore": ["after-comment"],
|
||||
"except": ["first-nested"]
|
||||
}],
|
||||
|
@ -171,7 +179,7 @@
|
|||
"shorthand-property-no-redundant-values": true,
|
||||
|
||||
"string-no-newline": true,
|
||||
"string-quotes": "double",
|
||||
"string-quotes": "single",
|
||||
|
||||
"unit-case": "lower",
|
||||
"unit-no-unknown": true,
|
||||
|
@ -180,21 +188,27 @@
|
|||
"value-list-comma-newline-before": "never-multi-line",
|
||||
"value-list-comma-space-after": "always-single-line",
|
||||
"value-list-comma-space-before": "never",
|
||||
"order/declaration-block-order": [
|
||||
"order/order": [
|
||||
"custom-properties",
|
||||
"dollar-variables",
|
||||
{
|
||||
"type": "at-rule",
|
||||
"name": "include"
|
||||
"name": "include",
|
||||
"parameter": "type"
|
||||
},
|
||||
"declarations",
|
||||
"rules",
|
||||
{
|
||||
"type": "at-rule",
|
||||
"name": "include",
|
||||
"parameter": "fluid"
|
||||
},
|
||||
{
|
||||
"type": "at-rule",
|
||||
"name": "media"
|
||||
}
|
||||
],
|
||||
"order/declaration-block-properties-specified-order": [
|
||||
"order/properties-order": [
|
||||
[
|
||||
"font",
|
||||
"font-family",
|
||||
|
@ -385,7 +399,7 @@
|
|||
"animation-direction",
|
||||
"pointer-events"
|
||||
],
|
||||
{ unspecified: "bottomAlphabetical" }
|
||||
{ "unspecified": "bottomAlphabetical" }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue