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

Definition for the NextJS rules not found #60

Closed
yanislav-igonin opened this issue Feb 5, 2023 · 2 comments
Closed

Definition for the NextJS rules not found #60

yanislav-igonin opened this issue Feb 5, 2023 · 2 comments

Comments

@yanislav-igonin
Copy link

Have a simple NextJS project on the typescript.

This is my .eslintrc:
SCR-20230205-iab

I'm getting those errors in each file on top of the files:
SCR-20230205-ia4

I tried to extend also from the eslint-config-next config that is coming with the nextjs by defalt, but the linter said that those rules sets are conflicting.

Then I tried to uninstall eslint-config-next from the project, another errors occurred:
image

What can be a problem, guys?
Maybe I should change order of extended rules sets?

Thanks in advance for the any info!

@iamseye
Copy link

iamseye commented Mar 29, 2023

@yanislav-igonin I had similar errors, and I changed the extends from canonical/next to next and added eslint-config-next. the errors went away.

@yanislav-igonin
Copy link
Author

@yanislav-igonin I had similar errors, and I changed the extends from canonical/next to next and added eslint-config-next. the errors went away.

thanks for the info, will try this one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants