2023-06-04 17:21:48 -07:00
|
|
|
{
|
2023-06-04 18:53:07 -07:00
|
|
|
"extends": [
|
|
|
|
"stylelint-config-standard-scss",
|
|
|
|
"stylelint-config-recess-order",
|
|
|
|
"@ronilaukkarinen/stylelint-a11y/recommended"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"stylelint-rem-over-px",
|
|
|
|
"stylelint-plugin-defensive-css",
|
|
|
|
"stylelint-plugin-logical-css",
|
|
|
|
"stylelint-declaration-strict-value"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"selector-class-pattern": null,
|
|
|
|
"value-keyword-case": null,
|
2023-06-05 18:11:11 -07:00
|
|
|
"custom-property-pattern": null,
|
2023-06-04 18:53:07 -07:00
|
|
|
"scss/dollar-variable-pattern": null,
|
2023-06-04 21:19:52 -07:00
|
|
|
"scss/percent-placeholder-pattern": null,
|
2023-06-06 16:46:31 -07:00
|
|
|
"scss/at-mixin-pattern": null,
|
2023-06-04 18:53:07 -07:00
|
|
|
"rem-over-px/rem-over-px": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"ignore": [
|
|
|
|
"box-shadow",
|
|
|
|
"text-shadow",
|
|
|
|
"border-radius"
|
|
|
|
]
|
|
|
|
}
|
2023-06-04 17:21:48 -07:00
|
|
|
],
|
2023-06-04 18:53:07 -07:00
|
|
|
"plugin/use-defensive-css": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"custom-property-fallbacks": false
|
|
|
|
}
|
2023-06-04 17:21:48 -07:00
|
|
|
],
|
2023-06-04 18:53:07 -07:00
|
|
|
"plugin/use-logical-properties-and-values": [
|
|
|
|
true,
|
|
|
|
{}
|
|
|
|
],
|
|
|
|
"plugin/use-logical-units": [
|
|
|
|
true,
|
|
|
|
{}
|
|
|
|
],
|
|
|
|
"scale-unlimited/declaration-strict-value": [
|
|
|
|
[
|
|
|
|
"/color/",
|
|
|
|
"/size/",
|
|
|
|
"/margin/",
|
|
|
|
"/padding/",
|
2023-06-06 20:06:30 -07:00
|
|
|
"background-color",
|
|
|
|
"background-image"
|
2023-06-04 18:53:07 -07:00
|
|
|
],
|
|
|
|
{
|
|
|
|
"ignoreValues": [
|
|
|
|
"currentColor",
|
|
|
|
"inherit",
|
|
|
|
"transparent",
|
|
|
|
"0",
|
|
|
|
"100vi",
|
|
|
|
"100vb",
|
2023-06-06 16:46:31 -07:00
|
|
|
"100%",
|
|
|
|
"auto"
|
2023-06-04 17:21:48 -07:00
|
|
|
],
|
2023-06-04 18:53:07 -07:00
|
|
|
"expandShorthand": true,
|
|
|
|
"recurseLonghand": true,
|
|
|
|
"message": "Custom expected ${types} for \"${value}\" of \"${property}\"",
|
|
|
|
"disableFix": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-06-04 17:21:48 -07:00
|
|
|
}
|