facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.73k stars 26.85k forks source link

Usage override/workaround/hack with ESLint 9 #13618

Open dwiyatci opened 4 months ago

dwiyatci commented 4 months ago

Anybody?

 WARN  Issues with peer dependencies found
.
├─┬ react-scripts 5.0.1
│ ├── ✕ unmet peer typescript@"^3.2.1 || ^4": found 5.4.2
│ ├─┬ eslint-config-react-app 7.0.1
│ │ ├── ✕ unmet peer eslint@^8.0.0: found 9.5.0
│ │ ├─┬ @typescript-eslint/parser 5.7.0
│ │ │ └── ✕ unmet peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0": found 9.5.0
│ │ ├─┬ @typescript-eslint/eslint-plugin 5.7.0
│ │ │ └── ✕ unmet peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0": found 9.5.0
│ │ ├─┬ @babel/eslint-parser 7.16.5
│ │ │ └── ✕ unmet peer eslint@"^7.5.0 || ^8.0.0": found 9.5.0
│ │ ├─┬ eslint-plugin-react 7.27.1
│ │ │ └── ✕ unmet peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8": found 9.5.0
│ │ ├─┬ eslint-plugin-flowtype 8.0.3
│ │ │ └── ✕ unmet peer eslint@^8.1.0: found 9.5.0
│ │ ├─┬ eslint-plugin-import 2.25.3
│ │ │ └── ✕ unmet peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8": found 9.5.0
│ │ ├─┬ eslint-plugin-jest 25.3.0
│ │ │ └── ✕ unmet peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0": found 9.5.0
│ │ ├─┬ eslint-plugin-react-hooks 4.3.0
│ │ │ └── ✕ unmet peer eslint@"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0": found 9.5.0
│ │ ├─┬ eslint-plugin-jsx-a11y 6.5.1
│ │ │ └── ✕ unmet peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8": found 9.5.0
│ │ └─┬ eslint-plugin-testing-library 5.0.1
│ │   └── ✕ unmet peer eslint@"^7.5.0 || ^8.0.0": found 9.5.0
│ └─┬ eslint-webpack-plugin 3.1.1
│   └── ✕ unmet peer eslint@"^7.0.0 || ^8.0.0": found 9.5.0
└─┬ @testing-library/jest-dom 6.4.6
  └── ✕ unmet peer jest@">= 28": found 27.4.5
Failed to compile.

Invalid Options:
- Unknown options: extensions, resolvePluginsRelativeTo
- 'extensions' has been removed.
- 'resolvePluginsRelativeTo' has been removed.
ERROR in Invalid Options:
- Unknown options: extensions, resolvePluginsRelativeTo
- 'extensions' has been removed.
- 'resolvePluginsRelativeTo' has been removed.

ERROR in   Error: Child compilation failed:
  Invalid Options:
  - Unknown options: extensions, resolvePluginsRelativeTo
  - 'extensions' has been removed.
  - 'resolvePluginsRelativeTo' has been removed.

1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
webpack compiled with 3 errors
evgencode commented 1 month ago

the same problem

AaronNGray commented 1 month ago

Getting same issue with https://github.com/datarhei/restreamer-ui/issues/64

bryanmramsamy commented 1 month ago

Still no solution? I would like to add the latest ESLint in my React project instead of going back to a former version.