rsnext/test/integration/eslint
Jiwon Choi 4c5384351c
fix(next-eslint): .eslintrc.json not being created by next lint on App Router (#55104)
This PR fixes `.eslintrc.json` not being created after the user runs
`next lint` and selects an option of `Strict` or `Base`.
The reason is that the lint check was looking for `pages` and
`src/pages` only. Added `app` and `src/app` to be checked also.

Fixes: #55094
Fixes: #55102

---------

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2024-02-05 15:47:18 -08:00
..
base-directories chore: remove experimental appDir: true from tests (#52291) 2023-07-05 19:17:29 -07:00
config-core-web-vitals Fix eslint config next/core-web-vitals (#27567) 2021-07-28 19:07:54 +00:00
config-in-package-json fix: don't create .eslintrc if package.json contains eslintConfig (#26025) 2021-06-14 15:57:18 -05:00
custom-config [ESLint] Adds --quiet flag, TypeScript resolver and bug fixes (#26280) 2021-06-18 15:17:53 +02:00
custom-directories ESLint Updates (#25895) 2021-06-08 17:46:00 -05:00
empty-directory [ESLint] Remove error when file patterns are unmatched + ESLint setup changes (#27119) 2021-07-16 20:19:08 +02:00
eslint-cache enables eslint caching by default (#28349) 2021-08-23 12:56:21 -05:00
eslint-cache-custom-dir Enable import assertion syntax parsing (#33750) 2022-03-06 20:41:22 +00:00
eslint-ignore [ESLint] Remove error when file patterns are unmatched + ESLint setup changes (#27119) 2021-07-16 20:19:08 +02:00
file-linting [ESLint] Support single-file linting in next lint (necessary for lint-staged) (#28042) 2021-09-06 13:05:40 +02:00
first-time-setup Enable import assertion syntax parsing (#33750) 2022-03-06 20:41:22 +00:00
ignore-during-builds ESLint Updates (#25895) 2021-06-08 17:46:00 -05:00
invalid-eslint-version Fix eslint version check for older versions (#26212) 2021-06-16 14:16:01 -05:00
max-warnings [ESLint] Adds --max-warnings flag to next lint (#26697) 2021-06-29 10:12:23 +00:00
mjs-cjs-linting Lint files with mjs, mts, cjs and cts extension by default (#40879) 2022-10-03 19:54:27 +00:00
no-config fix(next-eslint): .eslintrc.json not being created by next lint on App Router (#55104) 2024-02-05 15:47:18 -08:00
no-eslint-plugin [ESLint] Introduce a new setup process when next lint is run for the first time (#26584) 2021-08-04 21:53:15 +00:00
plugin-core-web-vitals-config [eslint] move core-web-vitals config to eslint-plugin-next (#27363) 2021-07-23 17:58:53 +00:00
plugin-recommended-config [eslint] move core-web-vitals config to eslint-plugin-next (#27363) 2021-07-23 17:58:53 +00:00
test fix(next-eslint): .eslintrc.json not being created by next lint on App Router (#55104) 2024-02-05 15:47:18 -08:00
with-typescript Update default moduleResolution in tsconfig.json from node to bundler (#51957) 2023-07-18 15:11:09 +00:00