rsnext/packages/next/lib/eslint
Balázs Orbán 2de7b43b78
fix: detect ESLint config in package.json (#40158)
Fixes #40133

Fixes a small regression introduced in #39872. We should be able to detect if a non-empty `package.json#eslintConfig` property is present.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have 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 helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-09-01 16:23:03 +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 Fix runLintCheck during build (#39883) 2022-08-23 22:36:52 -05: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