Skip to content

Commit a10ab5c

Browse files
committed
chore: update readme
1 parent 8c928df commit a10ab5c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,29 @@ Where rules are included in the configs `recommended`, or `all` it is indicated
133133
| [`@pandacss/prefer-composite-properties`](docs/rules/prefer-composite-properties.md) ⚙️ | |
134134
| [`@pandacss/prefer-unified-property-style`](docs/rules/prefer-unified-property-style.md) | |
135135

136+
### Whitelisting rules
137+
138+
All the rules that prevent you from using certain properties can be whitelisted using the `whitelist` option.
139+
140+
```json
141+
{
142+
"rules": {
143+
"@pandacss/no-hardcoded-color": [
144+
"error",
145+
{
146+
"whitelist": ["inherit", "currentColor"]
147+
}
148+
]
149+
"@pandacss/no-margin-properties": [
150+
"error",
151+
{
152+
"whitelist": ["margin-top", "margin-bottom"]
153+
}
154+
]
155+
}
156+
}
157+
```
158+
136159
## Settings
137160

138161
### `configPath`

0 commit comments

Comments
 (0)