storybookjs/storybook

[Bug]: eslint-plugin-storybook not compatible with eslint 10+

Closed

#35,097 opened on Jun 8, 2026

 (4 comments) (0 reactions) (0 assignees)TypeScript (10,058 forks)batch import
bugeslint-pluginhelp wantedsev:S3

Repository metrics

Stars
 (89,909 stars)
PR merge metrics
 (Avg merge 7d 22h) (184 merged PRs in 30d)

Description

Describe the bug

Oops! Something went wrong! :(

ESLint: 10.4.1

TypeError: Failed to load plugin 'storybook' declared in '': Class extends value undefined is not a constructor or null Referenced from:

Reproduction link

https://github.com/trussworks/react-uswds/actions/runs/27157429433/job/80163799906?pr=3494

Reproduction steps

The above link demonstrates the failure where the eslint dependency has been updated, and the eslint-plugin-storybook version is what is currently marked as latest

System

│  Storybook Environment Info:
│

│  System:
│  OS: macOS 26.5
│  CPU: (10) arm64 Apple M1 Max
│  Shell: 5.9 - /bin/zsh
│  Binaries:
│  Node: 24.11.0 -
│  /Users/brandonlenz/.local/share/mise/installs/node/24.11.0/bin/node
│  Yarn: 3.8.7 - /usr/local/bin/yarn <----- active
│  npm: 11.6.1 - /Users/brandonlenz/.local/share/mise/installs/node/24.11.0/bin/npm
│  Browsers:
│  Safari: 26.5
│  npmPackages:
│  @storybook/addon-a11y: ^10.0.5 => 10.4.2
│  @storybook/addon-docs: ^10.0.5 => 10.4.2
│  @storybook/addon-links: ^10.0.5 => 10.4.2
│  @storybook/react: ^10.0.5 => 10.4.2
│  @storybook/react-vite: ^10.0.5 => 10.4.2
│  eslint-plugin-storybook: ^10.4.2 => 10.4.2
│  happo-plugin-storybook: ^5.0.4 => 5.0.4
│  storybook: ^10.0.5 => 10.4.2

Additional context

The compatibility docs likely also need updating for eslint 10+

Contributor guide