Skip to content
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

"nuxi@latest module add" formatting #698

Closed
JohnnyMcWeed opened this issue Jan 24, 2025 · 2 comments
Closed

"nuxi@latest module add" formatting #698

JohnnyMcWeed opened this issue Jan 24, 2025 · 2 comments

Comments

@JohnnyMcWeed
Copy link

Prerequisites

  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Expected Behavior

When adding a module with nuxi (e. g. pnpm dlx nuxi@latest module add i18n), I'm expecting my config to keep it's formatting.

Current Behavior

Formats the config totally wrong (likely due to tabs & spaces).

Steps to Reproduce

  • Fresh installation with pnpm and nuxi@latest
  • Add a custom .editorconfig file
  • Add a module to the fresh installation.
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
indent_size = 4
[*.{js,jsx,mjs,cjs,ts,tsx,json,css,scss,vue,yml,yaml,xml}]
indent_size = 2
@JohnnyMcWeed
Copy link
Author

Thanks @danielroe, didn't see this one :)

Copy link
Member

no worries!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants