Releases: primer/eslint-plugin-primer-react
Releases · primer/eslint-plugin-primer-react
v4.0.3
Patch Changes
- #81
821ef4dThanks @langermank! - New rule:new-color-css-varsto find/replace legacy CSS color vars in sx prop
v4.0.2
Patch Changes
- #76
1750256Thanks @joshblack! - Update the no-system-props rule to exclude theborderprop for theBlankslatecomponent from@primer/react.
v4.0.1
Patch Changes
- #74
c07df5cThanks @TylerJDev! - Adds support forMarkdownEditor.Footerindirect-slot-childrenrule
v4.0.0
Major Changes
-
#51
a65aa32Thanks @broccolinisoup! - Adda11y-tooltip-interactive-trigger -
#66
d1df609Thanks @TylerJDev! - Adda11y-explicit-headingrule
Minor Changes
- #67
4dfdb47Thanks @TylerJDev! - * Updates component mapping, addscomponents.js- Bumps
eslint-plugin-githubandeslint-plugin-jsx-a11y - Fixes bug in
a11y-explicit-headingwhen using spread props, or variable foras
- Bumps
Patch Changes
-
#72
522b9ccThanks @TylerJDev! - RemovesLink,SpinnerandTabNav.Linkfrom component mapping -
#73
974d9e8Thanks @TylerJDev! - * FixesnonInteractiveLinkrule for links that pass values through JSX rather than a string- Adds optional chaining to
getJSXOpeningElementAttributeto avoid error when nonameis present
- Adds optional chaining to
v3.0.0
Major Changes
- #49
ad22b85Thanks @colebemis! -direct-slot-children: Add checks forMarkdownEditorslot children
v2.0.3
Patch Changes
- #47
9964e4eThanks @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
a39e34dThanks @colebemis! - Moredirect-slot-childrenfixes:- Fix bug related self-closing JSX tags
- Allow slot children to accept multiple parents (ex:
ActionList.ItemorActionList.LinkItem) - Add
SplitPageLayoutandNavListto the slot map - Ignore
MarkdownEditorbecause it's still a draft
v2.0.1
Patch Changes
- #43
943e49aThanks @colebemis! -direct-slot-childrenfixes