0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00

Update .stylelint config from v4.

This commit is contained in:
XhmikosR 2018-09-22 15:35:06 +03:00
parent 3d4b65aba3
commit 024be2a020

View File

@ -1,12 +1,12 @@
{ {
"extends": ["stylelint-config-standard"], "extends": [
"stylelint-config-standard"
],
"plugins": [ "plugins": [
"stylelint-order" "stylelint-order"
], ],
"rules": { "rules": {
"at-rule-empty-line-before": [null, "at-rule-empty-line-before": null,
"except": ["first-nested"]
],
"at-rule-name-space-after": "always", "at-rule-name-space-after": "always",
"at-rule-no-vendor-prefix": true, "at-rule-no-vendor-prefix": true,
"at-rule-semicolon-space-before": "never", "at-rule-semicolon-space-before": "never",
@ -20,12 +20,27 @@
"declaration-empty-line-before": null, "declaration-empty-line-before": null,
"declaration-no-important": true, "declaration-no-important": true,
"font-family-name-quotes": "always-where-recommended", "font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "numeric", "font-weight-notation": [
"numeric",
{
"ignore": [
"relative"
]
}
],
"function-url-no-scheme-relative": true, "function-url-no-scheme-relative": true,
"function-url-quotes": "always", "function-url-quotes": "always",
"length-zero-no-unit": true, "length-zero-no-unit": true,
"max-empty-lines": 2, "max-empty-lines": 2,
"max-line-length": null, "max-line-length": null,
"media-feature-name-no-unknown": [
true,
{
"ignoreMediaFeatureNames": [
"prefers-reduced-motion"
]
}
],
"media-feature-name-no-vendor-prefix": true, "media-feature-name-no-vendor-prefix": true,
"media-feature-parentheses-space-inside": "never", "media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always", "media-feature-range-operator-space-after": "always",
@ -263,6 +278,7 @@
"selector-max-universal": 1, "selector-max-universal": 1,
"selector-no-qualifying-type": true, "selector-no-qualifying-type": true,
"selector-no-vendor-prefix": true, "selector-no-vendor-prefix": true,
"shorthand-property-no-redundant-values": true,
"string-quotes": "double", "string-quotes": "double",
"value-keyword-case": "lower", "value-keyword-case": "lower",
"value-list-comma-newline-after": "never-multi-line", "value-list-comma-newline-after": "never-multi-line",