[ticket/15980] update styleintrc after upgrade

PHPBB3-15980
This commit is contained in:
hanakin 2019-02-27 19:41:06 -10:00
parent a33c2c8d3d
commit 499e79958c

View file

@ -1,11 +1,19 @@
{ {
"plugins": [ "plugins": [
"stylelint-scss",
"stylelint-order" "stylelint-order"
], ],
"ignoreFiles": [ "ignoreFiles": [
"./phpBB/styles/prosilver/theme/normalize.css", "./src/scss/generic/_normalize.scss",
"./src/scss/settings/*.scss"
], ],
"rules": { "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-case": "lower",
"at-rule-name-newline-after": "always-multi-line", "at-rule-name-newline-after": "always-multi-line",
"at-rule-name-space-after": "always-single-line", "at-rule-name-space-after": "always-single-line",
@ -62,7 +70,7 @@
"declaration-empty-line-before": "never", "declaration-empty-line-before": "never",
"declaration-property-unit-blacklist": { "declaration-property-unit-blacklist": {
"line-height": ["rem", "em", "%"] "line-height": ["rem", "px", "em", "%"]
}, },
"declaration-property-unit-whitelist": { "declaration-property-unit-whitelist": {
"height": ["px", "%", "vh"], "height": ["px", "%", "vh"],
@ -130,7 +138,7 @@
"property-case": "lower", "property-case": "lower",
"property-no-unknown": true, "property-no-unknown": true,
"rule-empty-line-before": ["always-multi-line", { "rule-empty-line-before": ["always", {
"ignore": ["after-comment"], "ignore": ["after-comment"],
"except": ["first-nested"] "except": ["first-nested"]
}], }],
@ -171,7 +179,7 @@
"shorthand-property-no-redundant-values": true, "shorthand-property-no-redundant-values": true,
"string-no-newline": true, "string-no-newline": true,
"string-quotes": "double", "string-quotes": "single",
"unit-case": "lower", "unit-case": "lower",
"unit-no-unknown": true, "unit-no-unknown": true,
@ -180,21 +188,27 @@
"value-list-comma-newline-before": "never-multi-line", "value-list-comma-newline-before": "never-multi-line",
"value-list-comma-space-after": "always-single-line", "value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never", "value-list-comma-space-before": "never",
"order/declaration-block-order": [ "order/order": [
"custom-properties", "custom-properties",
"dollar-variables", "dollar-variables",
{ {
"type": "at-rule", "type": "at-rule",
"name": "include" "name": "include",
"parameter": "type"
}, },
"declarations", "declarations",
"rules", "rules",
{
"type": "at-rule",
"name": "include",
"parameter": "fluid"
},
{ {
"type": "at-rule", "type": "at-rule",
"name": "media" "name": "media"
} }
], ],
"order/declaration-block-properties-specified-order": [ "order/properties-order": [
[ [
"font", "font",
"font-family", "font-family",
@ -385,7 +399,7 @@
"animation-direction", "animation-direction",
"pointer-events" "pointer-events"
], ],
{ unspecified: "bottomAlphabetical" } { "unspecified": "bottomAlphabetical" }
] ]
} }
} }