mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-03 09:21:03 +01:00
5132f704d4
The `px` unit added in [50388] to prevent invalid values when using `calc` functions was inadvertently removed in [50972]. This re-adds the unit to ensure the issue reported in #52564 remains fixed. The same stylelint rule adjustment made in [50388] to `.stylelintrc-css.json` has also been copied over to `stylelintrc.json` file, which is the configuration file used when linting `.scss` files. Props ocean90. See #52624, #52564. Built from https://develop.svn.wordpress.org/trunk@50975 git-svn-id: http://core.svn.wordpress.org/trunk@50584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
17 lines
425 B
JSON
17 lines
425 B
JSON
{
|
|
"extends": [
|
|
"@wordpress/stylelint-config/scss"
|
|
],
|
|
"rules": {
|
|
"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"]}]
|
|
}
|
|
}
|