Skip to content

Commit 694c970

Browse files
committed
refactor: optimized declaration
1 parent 3cf7b92 commit 694c970

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.stylelintrc.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
"scss/at-mixin-pattern": null,
1616
"scss/at-import-partial-extension": null,
1717
"scss/dollar-variable-colon-space-after": "always-single-line",
18-
"declaration-property-value-no-unknown": true
18+
"declaration-property-value-no-unknown": [
19+
true,
20+
{
21+
"ignoreProperties": {
22+
"/.+/": "/^to-[r]?em\\(\\$pxValue: \\d+\\)/"
23+
}
24+
}
25+
]
1926
}
2027
}

0 commit comments

Comments
 (0)