feat(linter): add generator for converting to flat config
Work in progress
A new generator to convert workspace from standard lint configs to new flat eslint config.
Based on: https://github.com/typescript-eslint/typescript-eslint/pull/6836 According to: https://eslint.org/blog/2022/08/new-config-system-part-2/
- [X] Extend
updateProjectConfigurationto updatepackage.jsonas well - [X] Create generator shell with options
- [ ] Add unit tests
- [X] Implement nx.json conversion
- [X] Implement project config conversion
- [ ] Convert config to new format
- [X] Covert ignores
- [X] Convert extends
- [X] Convert overrides
- [X] Convert settings
- [X] Convert rules
- [ ] Convert parsers
- [ ] Convert plugins
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| nx-dev | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 8, 2023 4:21pm |
☁️ Nx Cloud Report
CI is running/has finished running commands for commit 03454ccf95154ff27554ccb2925024fc7e10ed82. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this branch
✅ Successfully ran 7 targets
linux nx affected --target=e2e --base=d7d3ebc3a8a57a7a8e838f8900e990c9b73f5d13 --head=03454ccf95154ff27554ccb2925024fc7e10ed82 --parallel=1linux nx affected --target=test --base=d7d3ebc3a8a57a7a8e838f8900e990c9b73f5d13 --head=03454ccf95154ff27554ccb2925024fc7e10ed82 --parallel=1linux nx affected --target=build --base=d7d3ebc3a8a57a7a8e838f8900e990c9b73f5d13 --head=03454ccf95154ff27554ccb2925024fc7e10ed82 --parallel=3linux nx affected --target=lint --base=d7d3ebc3a8a57a7a8e838f8900e990c9b73f5d13 --head=03454ccf95154ff27554ccb2925024fc7e10ed82 --parallel=3linux nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dtenx-cloud record -- nx format:check --base=d7d3ebc3a8a57a7a8e838f8900e990c9b73f5d13 --head=03454ccf95154ff27554ccb2925024fc7e10ed82linux nx documentation --no-dte
Sent with 💌 from NxCloud.
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.