Releases: primer/eslint-plugin-primer-react
Releases · primer/eslint-plugin-primer-react
Release list
v9.2.0
v9.1.0
Minor Changes
- #592
0988020Thanks @alaingoga! - Remove plugin:github/react from src/configs/recommended.js to avoid silently depending on GitHub’s React config behavior.
Expand this package’s eslint peer dependency range to include ESLint ^10.0.0.
Update the lockfile to reflect the peer dependency change.
v9.0.0
Major Changes
- #577
f0c6656Thanks @francinelucca! - - BREAKING CHANGE: Deleted theno-system-propsrule to eliminate checks for styled-system props in components.- BREAKING CHANGE: Removed the
no-unnecessary-componentsrule that enforced the use of plain HTML elements overBoxandTextwhen not usingsxfor styling. - BREAKING CHANGE: Eliminated the
use-styled-react-importrule that enforced importing components from@primer/styled-reactwhen using thesxprop. - Removed styled-system, @types/styled-system dependencies
- BREAKING CHANGE: Removed the
v8.6.1
Patch Changes
-
#548
7f5af96Thanks @copilot-swe-agent! - Fix use-styled-react-import fixer stripping type keyword from import specifiers -
#565
93f3788Thanks @mattcosta7! - Add SplitPageLayout.Sidebar to no-system-props exclusions for padding, position, and width.
v8.6.0
v8.5.2
v8.5.1
Patch Changes
-
#474
1e0f943Thanks @liuliu-dev! - Fixno-unnecessary-componentsrule to support@primer/styled-reactimports. -
#461
75ae0a5Thanks @joshfarrant! - Exportenforce-button-for-link-with-no-hrefrule, which flagsLinkcomponents which don't have ahref.
v8.5.0
Minor Changes
- #443
8865e3aThanks @hectahertz! - Add no-use-responsive-value
Patch Changes
-
#435
aa12209Thanks @TylerJDev! - Addswidthandheighttono-system-propsforConfirmationDialog -
#454
917f344Thanks @francinelucca! - no-system-props: allow 'overflow' prop in Breadcrumbs
v8.4.0
Minor Changes
- #437
9270d40Thanks @copilot-swe-agent! - Add spread-props-first rule to ensure spread props come before other props
v8.3.0
Minor Changes
- #426
b83f467Thanks @siddharthkp! - use-styled-react-import: Add ThemeProvider, BaseStyles and useTheme. Allow theme components to be imported from styled-react without sx