Skip to content

Commit

Permalink
Update README.md (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattxwang committed Aug 31, 2020
1 parent f78da86 commit c2308a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -44,7 +44,7 @@ Since [stylelint 9.7.0](https://github.com/stylelint/stylelint/blob/9.7.0/CHANGE

Simply add a `"rules"` key to your config, then add your overrides and additions there.

For example, to change the `at-rule-no-unknown` rule to use its `ignoreAtRules` option, turn off the `block-no-empty` rule, and add the `unit-whitelist` rule:
For example, to change the `at-rule-no-unknown` rule to use its `ignoreAtRules` option, turn off the `block-no-empty` rule, and add the `unit-allowed-list` rule:

```json
{
Expand All @@ -57,7 +57,7 @@ For example, to change the `at-rule-no-unknown` rule to use its `ignoreAtRules`
}
],
"block-no-empty": null,
"unit-whitelist": ["em", "rem", "s"]
"unit-allowed-list": ["em", "rem", "s"]
}
}
```
Expand Down

0 comments on commit c2308a1

Please sign in to comment.