Releases: primer/eslint-plugin-primer-react
Releases · primer/eslint-plugin-primer-react
v1.0.1
v1.0.0
v0.7.4
Patch Changes
- #31
a64413aThanks @colebemis! -no-system-props: Always ignoresizeprop
v0.7.3
Patch Changes
- #27
19cbc53Thanks @colebemis! -no-system-props: Ignorebgprop onPointerBoxcomponent
v0.7.2
Patch Changes
- #24
e5565aeThanks @colebemis! - Replace references to@primer/componentswith@primer/react
v0.7.1
v0.7.0
v0.6.1
Patch Changes
- #15
9b96147Thanks @colebemis! - Theno-deprecated-colorsnow warns about deprecated and removed color variables
v0.6.0
v0.5.0
Minor Changes
-
#10
31d069bThanks @colebemis! - Add acheckAllStringsoption to theno-deprecated-colorsrule.If
checkAllStringsis set totrue, theno-deprecated-colorsrule will check for deprecated colors in all strings. This is useful for catching uses of deprecated colors outside system props and thesxprop./* 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> }