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

Inconsistent indentation across generated project #1219

Closed
wnvko opened this issue Mar 12, 2024 · 0 comments · Fixed by #1223
Closed

Inconsistent indentation across generated project #1219

wnvko opened this issue Mar 12, 2024 · 0 comments · Fixed by #1223

Comments

@wnvko
Copy link
Contributor

wnvko commented Mar 12, 2024

Description

Indentation is not same in all the files.

  • Ignite UI CLI version: 13.1.10
  • Framework: React
  • Project type: ig-ts

Steps to reproduce

  1. Create react TS project using empty template.
  2. Install npm packages.
  3. Observe the indentation in generated files:
  • home.tsx, app.test.tsx and ignite-ui-cli.json have four spaces for indentation.
  • style.module.css, app-route.tsx, .eslintrc.cjs, index.html, package.json, styles.css and tsconfig.json have two spaces for indentation.
  • app.tsx, style-utils.ts and vite.config.ts have tabs for indentation.
  • main.tsx has mixed tabs and spaces for indentation.

Result

mixed indentation across the files in generated project as well as mixed indentation in some files.

Expected result

Indentation in all the files in generated project should follow same rule.

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

Successfully merging a pull request may close this issue.

3 participants