Skip to content

Commit 4e3100b

Browse files
committed
Disallow text transform in stylelint-polaris coverage rules
1 parent 1b1394d commit 4e3100b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/metal-queens-look.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@shopify/stylelint-polaris': minor
3+
'@shopify/polaris': patch
4+
---
5+
6+
Disallow text-transform property in Stylelint Polaris

stylelint-polaris/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ const stylelintPolarisCoverageOptions = {
9797
'line-height': ['px', 'rem', 'em'],
9898
},
9999
],
100+
'property-disallowed-list': ['text-transform'],
100101
'function-disallowed-list': [
101102
'font-family',
102103
'font-size',

0 commit comments

Comments
 (0)