Wikiplus-highlight/.stylelintrc.json

71 行
3.2 KiB
JSON

{
"extends": "stylelint-config-recommended",
"plugins": [
"@stylistic/stylelint-plugin"
],
"rules": {
"declaration-property-value-no-unknown": true,
"no-unknown-animations": true,
"at-rule-no-vendor-prefix": true,
"color-hex-alpha": "never",
"color-named": "never",
"length-zero-no-unit": true,
"media-feature-name-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"value-no-vendor-prefix": true,
"declaration-block-single-line-max-declarations": 1,
"number-max-precision": 2,
"alpha-value-notation": "number",
"color-function-notation": "legacy",
"color-hex-length": "short",
"font-weight-notation": "named-where-possible",
"hue-degree-notation": "number",
"keyframe-selector-notation": "percentage-unless-within-keyword-only-block",
"selector-not-notation": "complex",
"selector-pseudo-element-colon-notation": "double",
"font-family-name-quotes": "always-where-recommended",
"selector-attribute-quotes": "always",
"declaration-block-no-redundant-longhand-properties": true,
"shorthand-property-no-redundant-values": true,
"comment-whitespace-inside": "always",
"@stylistic/color-hex-case": "lower",
"@stylistic/function-comma-space-after": "always",
"@stylistic/function-comma-space-before": "never",
"@stylistic/function-parentheses-space-inside": "never",
"@stylistic/function-whitespace-after": "always",
"@stylistic/number-leading-zero": "never",
"@stylistic/number-no-trailing-zeros": true,
"@stylistic/string-quotes": "double",
"@stylistic/declaration-bang-space-after": "never",
"@stylistic/declaration-bang-space-before": "always",
"@stylistic/declaration-colon-space-after": "always",
"@stylistic/declaration-colon-space-before": "never",
"@stylistic/declaration-block-semicolon-newline-after": "always",
"@stylistic/declaration-block-trailing-semicolon": "always",
"@stylistic/block-closing-brace-newline-after": "always",
"@stylistic/block-closing-brace-newline-before": "always",
"@stylistic/block-opening-brace-newline-after": "always",
"@stylistic/block-opening-brace-space-before": "always",
"@stylistic/selector-attribute-brackets-space-inside": "never",
"@stylistic/selector-attribute-operator-space-after": "never",
"@stylistic/selector-attribute-operator-space-before": "never",
"@stylistic/selector-combinator-space-after": "always",
"@stylistic/selector-combinator-space-before": "always",
"@stylistic/selector-max-empty-lines": 0,
"@stylistic/selector-pseudo-class-parentheses-space-inside": "never",
"@stylistic/media-feature-colon-space-after": "always",
"@stylistic/media-feature-colon-space-before": "never",
"@stylistic/media-feature-parentheses-space-inside": "never",
"@stylistic/at-rule-name-space-after": "always",
"@stylistic/indentation": "tab",
"@stylistic/linebreaks": "unix",
"@stylistic/max-empty-lines": 1,
"@stylistic/no-empty-first-line": true,
"@stylistic/no-eol-whitespace": true,
"@stylistic/no-extra-semicolons": true,
"@stylistic/no-missing-end-of-source-newline": true
},
"reportInvalidScopeDisables": true,
"reportNeedlessDisables": true
}