CLI Configuration Flexibility in Nx #28655
nyxb
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I would like to understand why there seems to be no way to specify custom configurations in the Nx CLI or in the nx.json. For example, when I run
nx g @nx/next:app apps/new-app
, I would like to use my own testing framework configuration (e.g., Vitest) and my own ESLint configuration. Either I can't find the right options, or they simply don't exist.Despite my efforts to completely remove Jest from my project, I still receive messages indicating that
@nx/jest...
is being generated, and Jest files automatically appear in both the root and application directories.The main reason I tried Nx was because of the CLI, but it feels like I am constantly forced back to the default configurations, including the ESLint settings that I don't want. I have my own ESLint configuration, but every time I run a CLI command, Prettier files and EditorConfig files are also created, which I do not want.
Are there plans to make the CLI more flexible, or am I just not able to find the right settings?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions