6d0150f02e
Adds lint rules to the Next.js ESLint plugin to: - Disallow importing `next/head` inside `pages/_document.js` - Disallow importing `next/document` outside of `pages/_document.js` Both rules will be surfaced as **errors** within the recommended config of the plugin. Fixes #13712 #13958 |
||
---|---|---|
.. | ||
google-font-display.js | ||
google-font-preconnect.js | ||
link-passhref.js | ||
no-css-tags.js | ||
no-document-import-in-page.js | ||
no-head-import-in-document.js | ||
no-html-link-for-pages.js | ||
no-page-custom-font.js | ||
no-sync-scripts.js | ||
no-title-in-document-head.js | ||
no-unwanted-polyfillio.js |