We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://stackblitz.com/edit/github-m5xc5v?file=nuxt.config.ts
I'm not certain if it is nuxt bug. but I'm posting it here first. because it only happens with nuxt 3.11.2. someone here might know the reason.
public runtime config properties types are not recognized when running eslint. they appear as any. even when declaring nuxt/schema
This happens only with nuxt 3.11 and installing two modules: @nuxtjs/i18n' and '@sidebase/nuxt-auth and including them in nuxt.config.ts
in the reproduction terminal, you can ctrl+c, then:
npm run lint
you'll get:
error Unexpected any value in conditional. An explicit comparison or type cast is required @typescript-eslint/strict-boolean-expressions
if you remove either of those two modules from nuxt-config.ts, eslint doesn't report an error.
No response
edit: removed srcDir, as I left that initially then edited out from reproduction. issue still occur.
The text was updated successfully, but these errors were encountered:
Start a new pull request in StackBlitz Codeflow.
Sorry, something went wrong.
Closing this issue. as it turned out it was issue with sidebase-auth.
No branches or pull requests
Environment
Reproduction
https://stackblitz.com/edit/github-m5xc5v?file=nuxt.config.ts
Describe the bug
I'm not certain if it is nuxt bug. but I'm posting it here first. because it only happens with nuxt 3.11.2. someone here might know the reason.
public runtime config properties types are not recognized when running eslint. they appear as any. even when declaring nuxt/schema
This happens only with nuxt 3.11 and installing two modules: @nuxtjs/i18n' and '@sidebase/nuxt-auth and including them in nuxt.config.ts
in the reproduction terminal, you can ctrl+c, then:
npm run lint
you'll get:
error Unexpected any value in conditional. An explicit comparison or type cast is required @typescript-eslint/strict-boolean-expressions
if you remove either of those two modules from nuxt-config.ts, eslint doesn't report an error.
Additional context
No response
Logs
No response
edit: removed srcDir, as I left that initially then edited out from reproduction. issue still occur.
The text was updated successfully, but these errors were encountered: