054f786c8c
Skips pages directory warning if there is app directory in the root for `no-html-link-for-pages` lint rule. Fixes #42448. ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## 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` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm build && pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) |
||
---|---|---|
.. | ||
custom-pages | ||
with-app-dir/app | ||
with-custom-pages-dir/custom-pages | ||
without-pages-dir | ||
google-font-display.test.ts | ||
google-font-preconnect.test.ts | ||
index.test.ts | ||
inline-script-id.test.ts | ||
next-script-for-ga.test.ts | ||
no-assign-module-variable.test.ts | ||
no-before-interactive-script-outside-document.test.ts | ||
no-css-tags.test.ts | ||
no-document-import-in-page.test.ts | ||
no-duplicate-head.test.ts | ||
no-head-element.test.ts | ||
no-head-import-in-document.test.ts | ||
no-html-link-for-pages.test.ts | ||
no-img-element.test.ts | ||
no-page-custom-font.test.ts | ||
no-script-component-in-head.test.ts | ||
no-styled-jsx-in-document.test.ts | ||
no-sync-scripts.test.ts | ||
no-title-in-document-head.test.ts | ||
no-typos.test.ts | ||
no-unwanted-polyfillio.test.ts |