mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:28:55 +00:00
[ticket/15115] Slight tweaks to rc and sorting file
PHPBB3-15115
This commit is contained in:
parent
f1ad532a56
commit
9f5dc941dc
2 changed files with 11 additions and 9 deletions
|
@ -2,7 +2,6 @@
|
||||||
"order": [
|
"order": [
|
||||||
"custom-properties",
|
"custom-properties",
|
||||||
"dollar-variables",
|
"dollar-variables",
|
||||||
"at-rules",
|
|
||||||
"declarations",
|
"declarations",
|
||||||
{
|
{
|
||||||
"type": "at-rule",
|
"type": "at-rule",
|
||||||
|
|
19
.stylelintrc
19
.stylelintrc
|
@ -12,7 +12,11 @@
|
||||||
"at-rule-no-vendor-prefix": true,
|
"at-rule-no-vendor-prefix": true,
|
||||||
"at-rule-semicolon-newline-after": "always",
|
"at-rule-semicolon-newline-after": "always",
|
||||||
|
|
||||||
"block-closing-brace-newline-after": "always",
|
"block-closing-brace-newline-after": [
|
||||||
|
"always", {
|
||||||
|
"ignoreAtRules": ["if", "else"]
|
||||||
|
}
|
||||||
|
],
|
||||||
"block-closing-brace-newline-before": "always-multi-line",
|
"block-closing-brace-newline-before": "always-multi-line",
|
||||||
"block-closing-brace-space-after": "always-single-line",
|
"block-closing-brace-space-after": "always-single-line",
|
||||||
"block-closing-brace-space-before": "always-single-line",
|
"block-closing-brace-space-before": "always-single-line",
|
||||||
|
@ -59,11 +63,11 @@
|
||||||
"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", "%"],
|
"height": ["px", "%", "vh"],
|
||||||
"width": ["px", "%"],
|
"width": ["px", "%", "vw"],
|
||||||
"font-size": ["px", "rem", "%"],
|
"font-size": ["px", "rem", "%"],
|
||||||
"margin-left": ["px", "rem", "%"],
|
"margin-left": ["px", "rem", "%"],
|
||||||
"margin-right": ["px", "rem", "%"],
|
"margin-right": ["px", "rem", "%"],
|
||||||
|
@ -72,7 +76,9 @@
|
||||||
"padding-left": ["px", "rem"],
|
"padding-left": ["px", "rem"],
|
||||||
"padding-right": ["px", "rem"],
|
"padding-right": ["px", "rem"],
|
||||||
"padding-top": ["px", "rem"],
|
"padding-top": ["px", "rem"],
|
||||||
"padding-bottom": ["px", "rem"]
|
"padding-bottom": ["px", "rem"],
|
||||||
|
"letter-spacing": ["em"],
|
||||||
|
"word-spacing": ["em"]
|
||||||
},
|
},
|
||||||
|
|
||||||
"font-family-name-quotes": "always-where-recommended",
|
"font-family-name-quotes": "always-where-recommended",
|
||||||
|
@ -178,7 +184,6 @@
|
||||||
"order/declaration-block-order": [
|
"order/declaration-block-order": [
|
||||||
"custom-properties",
|
"custom-properties",
|
||||||
"dollar-variables",
|
"dollar-variables",
|
||||||
"at-rules",
|
|
||||||
"declarations",
|
"declarations",
|
||||||
{
|
{
|
||||||
"type": "at-rule",
|
"type": "at-rule",
|
||||||
|
@ -187,8 +192,6 @@
|
||||||
"rules"
|
"rules"
|
||||||
],
|
],
|
||||||
"order/declaration-block-properties-specified-order": [
|
"order/declaration-block-properties-specified-order": [
|
||||||
"-moz-osx-font-smoothing",
|
|
||||||
"-webkit-font-smoothing",
|
|
||||||
"font",
|
"font",
|
||||||
"font-family",
|
"font-family",
|
||||||
"font-size",
|
"font-size",
|
||||||
|
|
Loading…
Add table
Reference in a new issue