rsnext/packages/eslint-plugin-next/lib/rules
JacobLey 527cb97b56
Support multiple pages directories for linting (#25565)
Monorepos may contain multiple NextJS apps, but linting occurs at top-level so all directories must be declared.

Declaring multiple directories via an Array allows loading all to generate a full list of potential URLs.

Updated schema and tests. Also optimized some of the `fs.*Sync` requests that can add up to lots of blocking lookups.

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [x] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

Closes: https://github.com/vercel/next.js/pull/27223
2021-07-20 21:29:54 +00:00
..
google-font-display.js Fix ie11 support with webpack 5 (#25014) 2021-05-12 12:24:42 +00:00
google-font-preconnect.js Fix ie11 support with webpack 5 (#25014) 2021-05-12 12:24:42 +00:00
link-passhref.js Remove period for ESLint passHref docs link. (#26402) 2021-06-20 22:55:03 +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 Plugin: Fix Document and Head import rules (#25730) 2021-06-07 12:40:28 +02: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 Plugin: Fix Document and Head import rules (#25730) 2021-06-07 12:40:28 +02:00
no-html-link-for-pages.js Support multiple pages directories for linting (#25565) 2021-07-20 21:29:54 +00:00
no-img-element.js ESLint Plugin: Image rules (#23402) 2021-05-17 13:06:48 +00:00
no-page-custom-font.js Update the text for eslint/no-page-custom-font rule (#25117) 2021-05-19 22:47:38 +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-unwanted-polyfillio.js Adds ESLint with default rule-set (#23702) 2021-04-30 11:09:07 +00:00