-
-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Description
Issue
I am trying to upgrade my company's custom eslint config library from 9.1.0 to 10.0.1. Since we depend on air-bnb rules we are stuck using eslint v8. According to the package.json for eslint-config-prettier, it supports eslint 7, 8 and 9. When we attempt to upgrade, we see the following error running the linter:
npm run lint
> eslint-config-test@0.0.0-auto-updated lint
> ./node_modules/.bin/eslint --ext ts,tsx src/
Oops! Something went wrong! :(
ESLint: 8.57.1
ESLint couldn't find the config "prettier/prettier" to extend from. Please check that the name of the config is correct.
The config "prettier/prettier" was referenced from the config file in "/Users/heath.chiavettone/dev/public/eslint-config-test/package.json".
If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.
I am uploading a very simplified version of my library that demonstrates the problem.
Steps to Reproduce:
- Unzip the file into a directory
- Run
npm install && npm run lint - You'll see things work fine.
- Update
eslint-config-prettierto10.0.1 - Run
npm install && npm run lint - You'll see the error
Reproducible test case
hanszoons and colbymelvin
Metadata
Metadata
Assignees
Labels
No labels