rsnext/packages/next/lib/eslint
Everton Nunes 59b144c264
[ESLint] Adds --output-file flag (#36420)
Add support for `--output-file` on ESLint cli, based on this discussion https://github.com/vercel/next.js/discussions/26179, and this closed PR https://github.com/vercel/next.js/pull/35154. With this flag, it is possible to save the output in a file and use it for any purpose.

## 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

- [x] Make sure the linting passes by running `yarn lint`


Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
2022-08-08 05:29:23 +00:00
..
customFormatter.ts [ESLint] Adds --output-file flag (#36420) 2022-08-08 05:29:23 +00:00
hasEslintConfiguration.ts [ESLint] Introduce a new setup process when next lint is run for the first time (#26584) 2021-08-04 21:53:15 +00:00
runLintCheck.ts [ESLint] Adds --output-file flag (#36420) 2022-08-08 05:29:23 +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