cli
cli copied to clipboard
Make `eslintConfigFromNxProjects` more flexible
User story
Thanks to @matejchalk, i was able to integrate code-pushup in my Nx workspace.
But i had to tweak some Nx project configuration to make it work. Since i am using a workspace project at the root of the repository, i had to create a dummy lint target to avoid inadvertently running all lint targets twice (when running nx run-many --targets=lint for instance).
It seems that when using eslintConfigFromNxProjects, ALL projects should contain an ESlint configuration (options.eslintConfig) when a lint target is present.
As a user, i would like to filter out some projects from eslintConfigFromNxProjects.
Acceptance criteria
- [ ] Update
eslintConfigFromNxProjectsinterface to receive{ options: { exclude?: string[] } }. - [ ] Update implementation to support filtering from project graph
Implementation details
No response