-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nx migrate doesn't respect configured indent_size #8928
Comments
We should have |
This is also an issue with the |
@FrozenPandaz any chance this issue could be addressed? We are frequently migrating to the latest Nx version |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
Happy to create a PR for this if you could provide more context |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
This issue still exists in 16.7.4 |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
This is still an issue. |
<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #8928 (cherry picked from commit e9d9c9f)
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
The
nx migrate
command doesn't respect the configuredindent_size
in.editorconfig
ortabWidth
in.prettierrc
.When running the
nx migrate
command, the tab spacingpackage.json
is set to2
, regardless of configured tab spacing.Expected Behavior
The
nx migrate
command should respect the configured tab spacing.Steps to Reproduce
indent_size
in.editorconfig
to4
.nx format:write
to update the tab spacing of the workspace.nx migrate latest
.package.json
, notice thatnx migrate
has reverted the tab spacing to2
.Failure Logs
N/A
Environment
The text was updated successfully, but these errors were encountered: