Releases: primer/eslint-plugin-primer-react
Releases · primer/eslint-plugin-primer-react
v4.0.4
Patch Changes
- #122
3bc226a
Thanks @lukasoppermann! - New rule: new-color-css-vars-have-fallback: checks that if a new color var is used, it has a fallback value
v4.0.3
Patch Changes
- #81
821ef4d
Thanks @langermank! - New rule:new-color-css-vars
to find/replace legacy CSS color vars in sx prop
v4.0.2
Patch Changes
- #76
1750256
Thanks @joshblack! - Update the no-system-props rule to exclude theborder
prop for theBlankslate
component from@primer/react
.
v4.0.1
Patch Changes
- #74
c07df5c
Thanks @TylerJDev! - Adds support forMarkdownEditor.Footer
indirect-slot-children
rule
v4.0.0
Major Changes
-
#51
a65aa32
Thanks @broccolinisoup! - Adda11y-tooltip-interactive-trigger
-
#66
d1df609
Thanks @TylerJDev! - Adda11y-explicit-heading
rule
Minor Changes
- #67
4dfdb47
Thanks @TylerJDev! - * Updates component mapping, addscomponents.js
- Bumps
eslint-plugin-github
andeslint-plugin-jsx-a11y
- Fixes bug in
a11y-explicit-heading
when using spread props, or variable foras
- Bumps
Patch Changes
-
#72
522b9cc
Thanks @TylerJDev! - RemovesLink
,Spinner
andTabNav.Link
from component mapping -
#73
974d9e8
Thanks @TylerJDev! - * FixesnonInteractiveLink
rule for links that pass values through JSX rather than a string- Adds optional chaining to
getJSXOpeningElementAttribute
to avoid error when noname
is present
- Adds optional chaining to
v3.0.0
Major Changes
- #49
ad22b85
Thanks @colebemis! -direct-slot-children
: Add checks forMarkdownEditor
slot children
v2.0.3
Patch Changes
- #47
9964e4e
Thanks @colebemis! - - Update the no-system-props rule to properly check subcomponents for system props- Adds valid sucomponent props to the allowlist
v2.0.2
Patch Changes
- #45
a39e34d
Thanks @colebemis! - Moredirect-slot-children
fixes:- Fix bug related self-closing JSX tags
- Allow slot children to accept multiple parents (ex:
ActionList.Item
orActionList.LinkItem
) - Add
SplitPageLayout
andNavList
to the slot map - Ignore
MarkdownEditor
because it's still a draft
v2.0.1
Patch Changes
- #43
943e49a
Thanks @colebemis! -direct-slot-children
fixes