ESLint: More rules for the new Script component #26365
awareness481
started this conversation in
Ideas
Replies: 2 comments
-
|
@housseindjirdeh Have a bit of free time until the end of week. Would love to implement this if this is something you folks want. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Both rules sound great, please feel free to submit a PR @awareness481 :) CC @janicklas-ralph for a sanity check |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Basically, disallow
next/scriptimports in_document.jsand disallow<Script />being a child of<Head>. Based on this: f4aab83I've already got an initial implementation working locally, let me know if this is something you want to see added.
Beta Was this translation helpful? Give feedback.
All reactions