Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typescript-eslint-jest example to remove Prettier package causing errors #22452

Merged
merged 3 commits into from Mar 1, 2021
Merged

Conversation

rsipakov
Copy link
Contributor

Delete "prettier/@typescript-eslint" from .eslintrc.json.

After update to the last version I getting this error on running lint: ESLint couldn't find the config "prettier/@typescript-eslint" to extend from.
I explore this issue prettier/eslint-config-prettier#175 and I think those extensions aren't needed anymore.

Remove "prettier/@typescript-eslint" from .eslintrc.json. 

After update to the last version I getting this error on running lint: ESLint couldn't find the config "prettier/@typescript-eslint" to extend from. 
I explore this issue prettier/eslint-config-prettier#175 and I think those extensions aren't needed anymore.
@ijjk ijjk added the examples Issue/PR related to examples label Feb 23, 2021
@@ -8,7 +8,7 @@
// Uncomment the following lines to enable eslint-config-prettier
// Is not enabled right now to avoid issues with the Next.js repo
// "prettier",
// "prettier/@typescript-eslint"
// "prettier/@typescript-eslint" // delete according to this information https://github.com/prettier/eslint-config-prettier/pull/175
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't we just delete this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think this is the best option.

Copy link
Member

@leerob leerob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me. If you end up figuring out a proper solution for this, we'd love to have it back here. But hopefully this unblocks people in a broken state on this example.

thank you!

@leerob leerob changed the title Delete "prettier/@typescript-eslint" Fix typescript-eslint-jest example to remove Prettier package causing errors Mar 1, 2021
@kodiakhq kodiakhq bot merged commit 4e9c5ee into vercel:canary Mar 1, 2021
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue/PR related to examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants