Releases: primer/eslint-plugin-primer-react
Releases · primer/eslint-plugin-primer-react
v4.1.2
Patch Changes
-
#148
523e169Thanks @siddharthkp! - no-system-props: skip html elements -
#149
ca14bb6Thanks @siddharthkp! - no-system-props: allow maxWidth prop for Truncate
v4.1.1
Patch Changes
- #145
0369cb8Thanks @siddharthkp! - no-system-props: Addpositionas allowed prop forDialog
v4.1.0
Minor Changes
- #129
eb04624Thanks @joshblack! - Add no-deprecated-entrypoints rule to lint against deprecated import usage in @primer/react
Patch Changes
- #133
5cc9630Thanks @siddharthkp! - no-system-props: Add alignContent to allowed props for Button
v4.0.4
Patch Changes
- #122
3bc226aThanks @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
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