Skip to content

Tracking: ESLint 10 Support #272

@sergeyklay

Description

@sergeyklay

Context

After upgrading to ESLint 10.0.0 in #269, multiple peer dependency warnings indicate incomplete ecosystem support. This issue tracks progress on adding full compatibility with ESLint 10.

Compatibility Status

Package Status Upstream Issue
eslint-config-next ✅ Ready Supports flat config
eslint-plugin-jsx-a11y ⚠️ Partial Works, peer dep warnings only
eslint-plugin-import ❌ Blocked #3227
eslint-plugin-react ❌ Blocked #3977, #3979
eslint-plugin-react-hooks ❌ Blocked Depends on eslint-plugin-react
typescript-eslint ✅ Ready #11952

Known Issues

eslint-plugin-import (#3227)

  • Error: TypeError: Cannot use 'in' operator to search for 'sourceType' in undefined
  • Status: Open issue, no fix available yet
  • Impact: Medium - affects import/export linting rules
     

eslint-plugin-react (#3977, #3979)

  • Error: TypeError: contextOrFilename.getFilename is not a function
  • Status: Open issues, currently using @ledsun fork as workaround
  • Impact: High - breaks React component linting
     

typescript-eslint (#11952)

  • Status: Enhancement request opened, work in progress
  • Impact: High - affects all TypeScript linting

eslint-plugin-jsx-a11y

  • Status: Supports flat config but peer dependency range not updated
  • Impact: Low - works but shows warnings
     

eslint-plugin-react-hooks

  • Status: No specific issue, likely needs update with eslint-plugin-react
  • Impact: Medium - affects React Hooks linting

Key Findings

  • eslint-plugin-react: Using @ledsun fork as temporary workaround due to getFilename() API breakage (see chore(deps-dev): bump eslint from 9.39.2 to 10.0.0 #269)
  • typescript-eslint: Enhancement request open, typically 1-2 months lag for major ESLint versions
  • eslint-plugin-import: sourceType accessor errors, no timeline for fix

Action Items

References

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions