-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
1:1 Error: Replace ⏎import·{getIsomorphicEnhancedResolver
with import·{·getIsomorphicEnhancedResolver·
prettier/prettier
#81
Comments
Hey @karimsx, Next 11 (which blitz uses in v0.38) now runs eslint during builds. Those look like regular prettier errors which are enabled in your eslint config. Everything else looks good to me. By any chance have you modified the lint script? Can you share the |
I'm also getting eslint errors on my queries and mutation files, only during |
Reproduction instructions for my similar bug:
module.exports = {
root: true,
extends: [
"blitz"
],
plugins: [
"@typescript-eslint"
],
rules: {
"jsx-a11y/alt-text": "off",
"jsx-a11y/no-autofocus": "off",
"no-console": ["warn", { allow: ["info"] }],
"require-await": "error",
"react/jsx-key": "error",
"react/no-unescaped-entities": "off",
"react/self-closing-comp": "error",
"@typescript-eslint/quotes": [2, "double", { avoidEscape: true }
]
}
}
You'll see errors like
|
This issue will go away with blitz-js/blitz#2516 For now you can add an eslint override rule that disables your eslint prettier for Is it ok to go ahead and close this? |
What is the problem?
After updating blitz from 0.35 to 0.38
i started getting these error when running
blitz build
npm run lint
do not show these errors at attPaste all your error logs here:
Paste all relevant code snippets here:
eslint.rc
What are detailed steps to reproduce this?
updated from 0.35 to 0.38
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response
The text was updated successfully, but these errors were encountered: