mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 21:00:59 +01:00
cd0b1dde3c
The measurement in px for zero values is not needed. It does this for Twenty Twenty-One, Twenty Ten, Twenty Eleven and Twenty Nineteen. This also adds short-hand-property-no-redudant-values to Twenty Twenty-One's stylelint rules. Included is removing box-shadow prefixed rules before the standard property in Twenty Ten. Finally, it also removes empty spaces at the ends of lines in Twenty Thirteen, Twenty Nineteen and Twenty Twenty. Props ankitmaru, SergeyBiryukov, netweb, mukesh27, ryelle, audrasjb, sabernhardt. Fixes #53874. Built from https://develop.svn.wordpress.org/trunk@58178 git-svn-id: http://core.svn.wordpress.org/trunk@57641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
28 lines
819 B
JSON
28 lines
819 B
JSON
{
|
|
"extends": [
|
|
"@wordpress/stylelint-config"
|
|
],
|
|
"rules": {
|
|
"indentation": "tab",
|
|
"no-duplicate-selectors": null,
|
|
"function-url-quotes": null,
|
|
"selector-attribute-quotes": null,
|
|
"declaration-block-no-duplicate-properties": null,
|
|
"function-calc-no-unspaced-operator": null,
|
|
"selector-pseudo-class-no-unknown": null,
|
|
"selector-class-pattern": null,
|
|
"font-weight-notation": null,
|
|
"selector-type-no-unknown": null,
|
|
"max-line-length": null,
|
|
"at-rule-empty-line-before": null,
|
|
"selector-pseudo-element-colon-notation": null,
|
|
"number-leading-zero": null,
|
|
"no-descending-specificity": null,
|
|
"length-zero-no-unit": [true, {"ignore": ["custom-properties"]}],
|
|
"shorthand-property-no-redundant-values": true,
|
|
"value-keyword-case": ["lower", {
|
|
"ignoreKeywords": ["currentColor"]
|
|
}]
|
|
}
|
|
}
|