rsnext/test/eslint-plugin-next
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
..
custom-pages adding no html-link lint rule to eslint-plugin (#12969) 2020-05-19 10:54:32 +02:00
google-font-display.unit.test.js Skip processing when href is not a simple string (#24986) 2021-05-11 16:47:36 +02:00
google-font-preconnect.unit.test.js Skip processing when href is not a simple string (#24986) 2021-05-11 16:47:36 +02:00
link-passhref.unit.test.js Remove period for ESLint passHref docs link. (#26402) 2021-06-20 22:55:03 +00:00
no-css-tags.unit.test.js Adds ESLint with default rule-set (#23702) 2021-04-30 11:09:07 +00:00
no-document-import-in-page.unit.test.js [ESLint] Documentation updates + bug fixes (#26331) 2021-08-05 00:58:06 +00:00
no-duplicate-head.test.js adds no duplicate head rule (#27179) 2021-07-15 13:04:17 -05:00
no-head-import-in-document.unit.test.js [ESLint] Documentation updates + bug fixes (#26331) 2021-08-05 00:58:06 +00:00
no-html-link-for-pages.unit.test.js Support multiple pages directories for linting (#25565) 2021-07-20 21:29:54 +00:00
no-img-element.test.js ESLint Plugin: Image rules (#23402) 2021-05-17 13:06:48 +00:00
no-page-custom-font.unit.test.js [ESLint] Documentation updates + bug fixes (#26331) 2021-08-05 00:58:06 +00:00
no-script-in-document.test.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.test.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.unit.test.js next lint + ESLint in Create Next App (#25064) 2021-06-03 14:01:24 +02:00
no-title-in-document-head.unit.test.js ESLint Plugin: Disallow <title> in Head from next/document (#24868) 2021-05-07 08:49:37 +00:00
no-typos.test.js [ESLint] add no-typos rule to eslint (#26650) 2021-07-24 22:22:19 -05:00
no-unwanted-polyfillio.unit.test.js Adds ESLint with default rule-set (#23702) 2021-04-30 11:09:07 +00:00