Skip to content

Releases: primer/eslint-plugin-primer-react

v9.2.0

Choose a tag to compare

@primer primer released this 28 Jul 20:17
17ce374

Minor Changes

v9.1.0

Choose a tag to compare

@primer primer released this 10 Jul 15:00
cff4173

Minor Changes

  • #592 0988020 Thanks @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

Choose a tag to compare

@primer primer released this 19 Jun 18:27
38ce863

Major Changes

  • #577 f0c6656 Thanks @francinelucca! - - BREAKING CHANGE: Deleted the no-system-props rule to eliminate checks for styled-system props in components.
    • BREAKING CHANGE: Removed the no-unnecessary-components rule that enforced the use of plain HTML elements over Box and Text when not using sx for styling.
    • BREAKING CHANGE: Eliminated the use-styled-react-import rule that enforced importing components from @primer/styled-react when using the sx prop.
    • Removed styled-system, @types/styled-system dependencies

v8.6.1

Choose a tag to compare

@primer primer released this 02 Jun 13:26
ddc7b04

Patch Changes

v8.6.0

Choose a tag to compare

@primer primer released this 18 Mar 21:56
09a3407

Minor Changes

  • #376 4f0e5b5 Thanks @copilot-swe-agent! - Add ESLint rule to replace deprecated Octicon component with specific icons and remove unused imports

v8.5.2

Choose a tag to compare

@primer primer released this 02 Feb 11:17
1918558

Patch Changes

v8.5.1

Choose a tag to compare

@primer primer released this 22 Jan 08:12
f6076fa

Patch Changes

  • #474 1e0f943 Thanks @liuliu-dev! - Fix no-unnecessary-components rule to support @primer/styled-react imports.

  • #461 75ae0a5 Thanks @joshfarrant! - Export enforce-button-for-link-with-no-href rule, which flags Link components which don't have a href.

v8.5.0

Choose a tag to compare

@primer primer released this 24 Nov 15:53
88b0b2e

Minor Changes

Patch Changes

v8.4.0

Choose a tag to compare

@primer-css primer-css released this 24 Oct 16:54
68e5f73

Minor Changes

v8.3.0

Choose a tag to compare

@primer-css primer-css released this 14 Oct 22:04
e9bce1a

Minor Changes

  • #426 b83f467 Thanks @siddharthkp! - use-styled-react-import: Add ThemeProvider, BaseStyles and useTheme. Allow theme components to be imported from styled-react without sx