2020-11-12 13:36:15 -05:00
|
|
|
{
|
|
|
|
"extends": [
|
2021-05-24 11:37:55 -04:00
|
|
|
"@wordpress/stylelint-config"
|
2020-11-12 13:36:15 -05:00
|
|
|
],
|
|
|
|
"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,
|
2021-02-18 15:46:09 -05:00
|
|
|
"no-descending-specificity": null,
|
2023-11-17 11:22:19 -05:00
|
|
|
"length-zero-no-unit": [true, {"ignore": ["custom-properties"]}],
|
Bundled Themes: Removes measurement in px for zero and related fixes.
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
2024-05-20 11:14:16 -04:00
|
|
|
"shorthand-property-no-redundant-values": true,
|
2023-11-17 11:22:19 -05:00
|
|
|
"value-keyword-case": ["lower", {
|
|
|
|
"ignoreKeywords": ["currentColor"]
|
|
|
|
}]
|
2020-11-12 13:36:15 -05:00
|
|
|
}
|
|
|
|
}
|