Skip to content

Commit

Permalink
Update docs/rules/no-deprecated-colors.md
Browse files Browse the repository at this point in the history
  • Loading branch information
colebemis authored Sep 20, 2021
1 parent 465d99c commit e9453c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/rules/no-deprecated-colors.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ const ThemeGetExample = styled.div`

- `skipImportCheck` (default: `false`)

By default, the `no-deprecated-colors` rule will only check for deprecated colors used in functions and components that are imported from `@primer/components`. You can disable this behavior by setting `skipImportCheck` to `true`. This is useful for linting custom components that that pass color-related props down to Primer React components.
By default, the `no-deprecated-colors` rule will only check for deprecated colors used in functions and components that are imported from `@primer/components`. You can disable this behavior by setting `skipImportCheck` to `true`. This is useful for linting custom components that pass color-related props down to Primer React components.


```
"primer-react/no-deprecated-colors": ["warn", {"skipImportCheck": true}]
Expand Down

0 comments on commit e9453c2

Please sign in to comment.