Replies: 1 comment
-
|
We used to have this functionality included, but Nx removed the ability to use those generators when they introduced support for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Which scope/s are relevant/related to the feature request?
create-analog
Information
Hi,
I did setup analogjs with nx running the
npx create-nx-workspace@latest --preset=@analogjs/platformcommand.Now i want to add prettier and eslint to the project, i added a few suggested plugins from eslint, then I'm getting stuck at
ESLint couldn't find the plugin "@nx/eslint-plugin-nx".When i install this dependency I'm getting a peer dependency error, it seems this package was replaced with
@nx/eslint-plugin, see: https://github.com/nrwl/nx/blob/master/packages/eslint-plugin/migrations.jsonIt would be awesome if the
@analogjs/platformpreset sets up prettier and eslint automatically like the angular-monorepo (npx create-nx-workspace@latest angular-monorepo --preset=angular-monorepo), or the angular-standalone (npx create-nx-workspace@latest myngapp --preset=angular-standalone) presets does.Describe any alternatives/workarounds you're currently using
Copy the
.eslintrc.jsonand.eslintignorefrom a nx angular-monorepo and delete theproject-dir/.eslintrc.jsonas this requires the@nx/eslint-plugin-nxpluginI would be willing to submit a PR to fix this issue
Beta Was this translation helpful? Give feedback.
All reactions