Releases: primer/eslint-plugin-primer-react
v5.0.0
Major Changes
-
#174
d9832b8
Thanks @langermank! - - Removeno-deprecated-colors
plugin- Remove dependency on
primer/primitives
- Remove dependency on
-
#172
8e24d66
Thanks @langermank! - [Breaking] Removenew-color-css-vars-have-fallback
v4.2.0
Minor Changes
- #156
15cfbb4
Thanks @broccolinisoup! - Add no-deprecated-props rule
Patch Changes
-
#166
4c3d9b4
Thanks @chadfawcett! - Move eslint-plugin-github to dependencies -
#152
7baeb96
Thanks @siddharthkp! - no-system-props: Add option to ignore specific component names
v4.1.2
Patch Changes
-
#148
523e169
Thanks @siddharthkp! - no-system-props: skip html elements -
#149
ca14bb6
Thanks @siddharthkp! - no-system-props: allow maxWidth prop for Truncate
v4.1.1
Patch Changes
- #145
0369cb8
Thanks @siddharthkp! - no-system-props: Addposition
as allowed prop forDialog
v4.1.0
Minor Changes
- #129
eb04624
Thanks @joshblack! - Add no-deprecated-entrypoints rule to lint against deprecated import usage in @primer/react
Patch Changes
- #133
5cc9630
Thanks @siddharthkp! - no-system-props: Add alignContent to allowed props for Button
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