rsnext/test/unit
Mark Ladyshau 054f786c8c
Skip warning if there is app directory for no-html-link-for-pages rule (#42516)
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)
2023-03-22 02:15:52 +00:00
..
cssnano-simple test(unit): add cases for cssnano simple (#46862) 2023-03-07 06:28:53 +00:00
eslint-plugin-next Skip warning if there is app directory for no-html-link-for-pages rule (#42516) 2023-03-22 02:15:52 +00:00
esm-interpolate Make esm default interpolation work with jest mock (#36877) 2022-05-13 16:39:38 +00:00
fixtures Fix static info parsing when export data fetching method as variable (#40317) 2022-09-07 09:28:15 -07:00
image-optimizer Add auto-detection of image/x-icon content type (#47013) 2023-03-10 20:36:33 +00:00
isolated Fix require cache conflict between app and pages (#46736) 2023-03-03 12:24:09 -08:00
web-runtime chore(deps): use external @edge-runtime/cookies (#42736) 2023-02-17 15:10:09 +01:00
accept-headers.test.ts Implement Middleware RFC (#30081) 2021-10-20 17:52:11 +00:00
babel-plugin-next-page-config.test.ts Babel & next-swc: Fix exporting page config with AsExpression (#32702) 2022-02-05 21:15:49 +00:00
babel-plugin-next-ssg-transform.test.ts Include submodules in exported type definition (#28316) 2021-11-26 14:46:56 +01:00
cli.test.ts feat(cli): allow configuration of http-server's timeout configuration (#35827) 2022-06-26 13:26:51 +02:00
example.txt Add util for generating new tests/error documents (#33001) 2022-01-06 09:45:04 -06:00
find-config.test.ts Support postcss.config.cjs (#38486) 2022-07-18 14:34:29 -05:00
find-page-file.test.ts Fix bad route path for custom metadata routes (#47286) 2023-03-21 15:55:32 +00:00
get-node-options-without-inspect.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
get-project-dir.test.ts fix(next): dev server starting when importing a file using get-projec… (#38274) 2022-08-07 17:31:30 +00:00
getDisplayName.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
htmlescape.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
infer-get-server-side-props-type.test.ts fix: InferGetServerSidePropsType and InferGetStaticPropsType (#40635) 2022-09-20 15:25:01 -07:00
infer-get-static-props.test.ts fix: InferGetServerSidePropsType and InferGetStaticPropsType (#40635) 2022-09-20 15:25:01 -07:00
is-equal-node.unit.test.ts correctly assess node equality when nonce attribute is present (#27573) 2021-11-10 19:31:32 -06:00
is-serializable-props.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
jest-next-swc.test.ts Ensure mjs files are transformed with jest (#34698) 2022-03-09 13:49:58 +01:00
link-rendering.test.ts Update next/link default legacyBehavior (#42623) 2022-11-30 20:01:29 -08:00
link-warnings.test.tsx Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00
loadGetInitialProps.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
mitt.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
next-babel-loader-dev.test.ts Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
next-babel-loader-prod.test.ts refactor(build): no force transpile optional chaining / nullish (#35976) 2022-04-15 21:48:43 -05:00
next-babel.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
next-dynamic.test.tsx Separate next/dynamic implementation for app and pages (#45565) 2023-02-04 01:45:35 +00:00
next-head-rendering.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
next-image-legacy.test.ts BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image (#41399) 2022-10-14 01:59:22 +00:00
next-image-new.test.ts fix: lazy load dynamically generated next/image in Safari Firefox (#46306) 2023-02-23 11:44:07 -05:00
next-server-utils.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
next-swc.test.ts chore: Update swc_core to v0.43.23 (#42977) 2022-11-19 18:18:31 -08:00
oxford-comma.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
page-route-sorter.test.ts Revert "fix the dynamic routing of middleware" (#35932) 2022-04-06 14:35:52 +00:00
parse-page-static-info.test.ts Fix page static info extractor for app dir (#42001) 2022-10-27 14:55:35 -07:00
parse-relative-url.test.ts fix(#33081): handle relative path correctly (#36823) 2022-05-22 16:43:48 +00:00
phaseConstants.test.ts Move unit tests to one folder and migrate them to TypeScript (#28427) 2021-08-24 07:52:45 -05:00
preserve-process-env.test.ts Do not re-assign process.env (#46914) 2023-03-09 14:41:50 -08:00
recursive-copy.test.ts Update test set-up to leverage playwright when able to (#28634) 2021-09-13 14:36:25 +02:00
recursive-delete.test.ts Support static file robots.txt and sitemap.xml as metadata route (#46963) 2023-03-09 11:10:18 -08:00
recursive-readdir.test.ts Support static file robots.txt and sitemap.xml as metadata route (#46963) 2023-03-09 11:10:18 -08:00
router-add-base-path.test.ts Extract router utils to common functions (#37313) 2022-05-30 20:19:37 +02:00
split-cookies-string.test.ts Allow custom path for preview mode cookies (#38313) 2022-08-07 20:45:30 -05:00
warn-removed-experimental-config.test.ts refactor: add warning helper for removed experimental option (#44213) 2023-01-03 12:17:00 -08:00
webpack-config-overrides.test.ts Update to leverage turbo for build/prepublish (#37280) 2022-05-30 19:05:27 -05:00
write-app-declarations.test.ts fix: generate next-env.d.ts file during next lint command (#46249) 2023-02-28 11:51:22 -08:00