You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PR that introduced the new rule also disabled the old one.
Are you using the latest version of the eslint-config-next package? Do you have custom rules (.eslintrc.json)?
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Verify canary release
Provide environment information
Operating System:
Platform: win32
Arch: x64
Version: Windows 7
Binaries:
Node: 12.22.1
npm: N/A
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.1.5
react: 18.0.0
react-dom: 18.0.0
What browser are you using? (if relevant)
firefox 99.0.1
How are you deploying your application? (if relevant)
vercel
Describe the Bug
The docs say
strategy="beforeInteractive"
requiresnext/script
to be imported into__document page
but the lint error says you can't use the next/script component inside the _document.js page.Expected Behavior
Imported
next/script
not getting an error on__document
page.To Reproduce
Add
import Script from "next/script"
to the__document
page.The text was updated successfully, but these errors were encountered: