fix(generator): infer ESLint targets by default - #215
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (13)
💤 Files with no reviewable changes (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change migrates workspace and generated Forge applications from explicit ChangesESLint target inference
Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: ⚪ Minimal · up to The PR changes generated lint configuration and preserves the explicit legacy path without any actionable merge-blocking risk remaining after normal checks and review. Sequence Diagram(s)sequenceDiagram
participant ApplicationGenerator
participant NxEslintPlugin
participant NxCLI
participant ESLint
ApplicationGenerator->>NxEslintPlugin: Generate project without explicit lint target
NxEslintPlugin->>NxCLI: Infer the lint target
NxCLI->>ESLint: Run eslint with output-file and format options
ESLint-->>NxCLI: Write lint-results.json
NxCLI-->>ApplicationGenerator: Return lint command result
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Linked Issues checkExplanation The changes address issue Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 9 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
dfac63c to
069dd9c
Compare
Summary
@nx/eslint/plugininference while preserving cache inputs and output-file supportVerification
pnpm exec prettier --check <changed files>pnpm nx affected -t lint --base=main --head=HEAD --parallel=2 --skipNxCachepnpm nx affected -t build --base=main --head=HEAD --parallel=2 --skipNxCacheNODE_OPTIONS=--throw-deprecation pnpm nx run-many -t test --all --parallel=2 --skipNxCachepnpm nx e2e nx-forge-e2e --testPathPatterns=application.generator.spec.ts --runInBand --skipNxCacheCloses #212
Summary by CodeRabbit
New Features
linttarget when ESLint plugin integration is available.Bug Fixes