You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating a migration in a repository/project that don't have eslint target, it give this error:
> NX getEsLintOptions is not a function or its return value is not iterable
Expected Behavior
The migration is generated without adding lint check to migrations.json file
Github Repo
No response
Steps to Reproduce
In a repository that is not using @nrwl/linter:eslint executor
Run nx g @nrwl/nx-plugin:migration test-migration --project={projectName} --packageVersion={packageVersion}
Nx Report
> NX Report complete - copy this into the issue template
Node : 18.2.0
OS : darwin arm64
npm : 8.9.0
nx : 14.8.6
@nrwl/angular : Not Found
@nrwl/cypress : Not Found
@nrwl/detox : Not Found
@nrwl/devkit : 14.8.6
@nrwl/esbuild : Not Found
@nrwl/eslint-plugin-nx : 14.8.6
@nrwl/expo : Not Found
@nrwl/express : Not Found
@nrwl/jest : 14.8.6
@nrwl/js : 14.8.6
@nrwl/linter : 14.8.6
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : 14.8.6
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/rollup : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : Not Found
@nrwl/web : Not Found
@nrwl/webpack : Not Found
@nrwl/workspace : 14.8.6
typescript : 4.8.4
Failure Logs
> NX Generating @nrwl/nx-plugin:migration
> NX getEsLintOptions is not a functionor its return value is not iterable
Pass --verbose to see the stacktrace.
### Additional Information
_No response_
The text was updated successfully, but these errors were encountered:
Current Behavior
When generating a migration in a repository/project that don't have eslint target, it give this error:
Expected Behavior
The migration is generated without adding lint check to migrations.json file
Github Repo
No response
Steps to Reproduce
@nrwl/linter:eslint
executornx g @nrwl/nx-plugin:migration test-migration --project={projectName} --packageVersion={packageVersion}
Nx Report
Failure Logs
The text was updated successfully, but these errors were encountered: