Releases: primer/eslint-plugin-primer-react
Releases · primer/eslint-plugin-primer-react
v1.0.1
v1.0.0
v0.7.4
Patch Changes
- #31
a64413a
Thanks @colebemis! -no-system-props
: Always ignoresize
prop
v0.7.3
Patch Changes
- #27
19cbc53
Thanks @colebemis! -no-system-props
: Ignorebg
prop onPointerBox
component
v0.7.2
Patch Changes
- #24
e5565ae
Thanks @colebemis! - Replace references to@primer/components
with@primer/react
v0.7.1
v0.7.0
v0.6.1
Patch Changes
- #15
9b96147
Thanks @colebemis! - Theno-deprecated-colors
now warns about deprecated and removed color variables
v0.6.0
v0.5.0
Minor Changes
-
#10
31d069b
Thanks @colebemis! - Add acheckAllStrings
option to theno-deprecated-colors
rule.If
checkAllStrings
is set totrue
, theno-deprecated-colors
rule will check for deprecated colors in all strings. This is useful for catching uses of deprecated colors outside system props and thesx
prop./* eslint primer-react/no-deprecated-colors: ["warn", {"checkAllStrings": true}] */ import {Box} from '@primer/components' function ExampleComponent() { const styles = { // Enabling `checkAllStrings` will find deprecated colors used like this: color: 'text.primary' } return <Box sx={styles}>Hello</Box> }