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
File system dynamic routes doesn't work with eslint 6 #7924
Comments
Sounds like a bug in eslint, not Next.js. Potentially you have to double escape or use |
I believe you need to use single quotes instead of double, but one of the two options should work! Please file this bug with ESLint for adding special handling to a valid filename. |
receiving a similar issue with prettier:
EDIT: note this is only using prettier with a file watcher in intellij with prettier |
NB: the following command runs fine, in package.json scripts:
@cajoy did you resolve this with eslint on your side? |
Still receiving this in IntelliJ Idea using prettier with a file watcher. Going to disable for now, and usee the command line before committing might be useful for others to document this once its solved.
have tried, double quotes, single quotes, escaped double quotes in the file watcher config. |
My current workaround is to run prettier through eslint and then trigger |
Yeah, this problem was solved by eslint/eslint#11986 😄 |
Awesome @murajun1978 💯 |
this can come up if you are using eslint previous to 6.1.0 |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
File system dynamic routes doesn't work with eslint 6
See output:
file is there for sure
System information
The text was updated successfully, but these errors were encountered: