1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-27 17:00:54 +01:00
mkdocs-material/.stylelintrc

139 lines
4.0 KiB
Plaintext
Raw Normal View History

2017-01-01 15:59:44 +01:00
{
"extends": [
"stylelint-config-recommended",
2021-02-07 17:43:13 +01:00
"stylelint-config-standard",
"stylelint-config-rational-order"
],
2017-01-01 15:59:44 +01:00
"plugins": [
"stylelint-scss"
],
"rules": {
2021-02-07 17:43:13 +01:00
"at-rule-empty-line-before": [
"always",
{
"except": [
"blockless-after-same-name-blockless",
"first-nested"
],
"ignore": [
"after-comment"
],
"ignoreAtRules": [
"if",
"else",
"elseif"
]
}
],
2017-07-25 17:30:47 +02:00
"at-rule-no-unknown": null,
2021-02-07 17:43:13 +01:00
"block-closing-brace-newline-after": [
"always",
{
"ignoreAtRules": [
"if",
"else",
"elseif"
]
}
],
2017-01-01 15:59:44 +01:00
"color-hex-length": "long",
"color-named": "never",
2021-02-07 17:43:13 +01:00
"comment-empty-line-before": [
"always",
{
"ignore": [
"stylelint-commands"
]
}
],
"custom-property-empty-line-before": null,
"custom-property-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
"declaration-no-important": true,
"declaration-block-single-line-max-declarations": 0,
"function-url-no-scheme-relative": true,
"function-url-quotes": "always",
2017-01-01 15:59:44 +01:00
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "numeric",
2021-02-07 17:43:13 +01:00
"keyframes-name-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
"linebreaks": "unix",
"media-feature-name-no-unknown": null,
"no-empty-first-line": true,
2017-01-01 15:59:44 +01:00
"no-unknown-animations": true,
2021-02-07 17:43:13 +01:00
"property-no-unknown": null,
"property-no-vendor-prefix": [
true,
{
"ignoreProperties": [
"line-clamp",
"box-orient"
]
}
],
"selector-max-empty-lines": 0,
"selector-max-id": 0,
"selector-max-type": 1,
"selector-max-universal": 1,
"selector-no-qualifying-type": true,
"selector-pseudo-class-no-unknown": null,
"selector-pseudo-element-no-unknown": null,
2017-01-01 15:59:44 +01:00
"string-quotes": "double",
2021-02-07 17:43:13 +01:00
"unicode-bom": "never",
"unit-allowed-list": [
"%",
"dppx",
"deg",
"em",
"mm",
"ms",
"px",
"vh",
"vw"
],
"value-no-vendor-prefix": true,
"scss/at-each-key-value-single-line": true,
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
"scss/at-extend-no-missing-placeholder": true,
"scss/at-function-parentheses-space-before": "never",
"scss/at-function-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-if-no-null": true,
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension": "never",
"scss/at-mixin-argumentless-call-parentheses": "always",
"scss/at-mixin-parentheses-space-before": "never",
"scss/at-mixin-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
"scss/at-rule-conditional-no-parentheses": true,
"scss/comment-no-empty": true,
"scss/comment-no-loud": true,
"scss/declaration-nested-properties": "never",
"scss/dimension-no-non-numeric-values": true,
"scss/dollar-variable-colon-newline-after": "always-multi-line",
"scss/dollar-variable-colon-space-after": "always-single-line",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-default": [
true,
{
"ignore": "local"
}
],
"scss/dollar-variable-first-in-block": [
true,
{
"ignore": ["comments"],
"except": ["function"]
}
],
"scss/dollar-variable-no-missing-interpolation": true,
"scss/dollar-variable-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
"scss/double-slash-comment-whitespace-inside": "always",
"scss/no-dollar-variables": true,
"scss/no-global-function-names": true,
"scss/no-duplicate-dollar-variables": true,
"scss/no-duplicate-mixins": true,
"scss/operator-no-unspaced": true,
"scss/partial-no-import": true,
"scss/percent-placeholder-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
"scss/selector-no-redundant-nesting-selector": true
2017-01-01 15:59:44 +01:00
}
}