rsnext/packages/eslint-plugin-next/lib/rules
Jesse Jafa a28e775e88
[ESLint] Disallow <Script /> inside _document.js & <Script /> inside the next/head component (#27257)
## Feature

- [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. [Feature Request](https://github.com/vercel/next.js/discussions/26365)
- [x] Eslint unit ests added
- [x] Errors have helpful link attached, see `contributing.md`

Let me know if this looks good or something needs to be changed. I still need to add the error links and improve the eslint error messages.

I don't know if the CI runs the ESLint tests, but current all pass locally
2021-08-13 23:16:15 +00:00
..
google-font-display.js Add rootDir setting to eslint-plugin-next (#27918) 2021-08-11 10:37:55 +00:00
google-font-preconnect.js Add rootDir setting to eslint-plugin-next (#27918) 2021-08-11 10:37:55 +00:00
link-passhref.js Add rootDir setting to eslint-plugin-next (#27918) 2021-08-11 10:37:55 +00:00
no-css-tags.js Adds ESLint with default rule-set (#23702) 2021-04-30 11:09:07 +00:00
no-document-import-in-page.js [ESLint] Documentation updates + bug fixes (#26331) 2021-08-05 00:58:06 +00:00
no-duplicate-head.js adds no duplicate head rule (#27179) 2021-07-15 13:04:17 -05:00
no-head-import-in-document.js [ESLint] Documentation updates + bug fixes (#26331) 2021-08-05 00:58:06 +00:00
no-html-link-for-pages.js Add rootDir setting to eslint-plugin-next (#27918) 2021-08-11 10:37:55 +00:00
no-img-element.js ESLint Plugin: Image rules (#23402) 2021-05-17 13:06:48 +00:00
no-page-custom-font.js Add rootDir setting to eslint-plugin-next (#27918) 2021-08-11 10:37:55 +00:00
no-script-in-document.js [ESLint] Disallow <Script /> inside _document.js & <Script /> inside the next/head component (#27257) 2021-08-13 23:16:15 +00:00
no-script-in-head.js [ESLint] Disallow <Script /> inside _document.js & <Script /> inside the next/head component (#27257) 2021-08-13 23:16:15 +00:00
no-sync-scripts.js next lint + ESLint in Create Next App (#25064) 2021-06-03 14:01:24 +02:00
no-title-in-document-head.js ESLint Plugin: Disallow <title> in Head from next/document (#24868) 2021-05-07 08:49:37 +00:00
no-typos.js [ESLint] add no-typos rule to eslint (#26650) 2021-07-24 22:22:19 -05:00
no-unwanted-polyfillio.js Adds ESLint with default rule-set (#23702) 2021-04-30 11:09:07 +00:00