rsnext/packages/next/lib/eslint
Jiachi Liu 03eb4b1d61
Bypass empty pages folder for layouts (#40132)
Check `pagesDir` to bypass empty pages folder when appDir is enabled

* Output empty loadable manifest for now if there's no `pagesDir`
* No custom aliases with all page extensions for `/_app`, `_document` if pagesDir is empty, only keep the built-in ones
* Check pagesDir in build/dev-server/eslint
* Type safe: change arguments of some APIs from optional to required, so that we won't mess up with default arguments
2022-09-03 00:13:47 +00:00
..
customFormatter.ts [ESLint] Adds --output-file flag (#36420) 2022-08-08 05:29:23 +00:00
hasEslintConfiguration.ts fix: detect ESLint config in package.json (#40158) 2022-09-01 16:23:03 +00:00
runLintCheck.ts Bypass empty pages folder for layouts (#40132) 2022-09-03 00:13:47 +00:00
writeDefaultConfig.ts Pre-compile more dependencies continued (#32679) 2021-12-21 16:13:45 +01:00
writeOutputFile.ts [ESLint] Adds --output-file flag (#36420) 2022-08-08 05:29:23 +00:00