Angular-cli: Ng command how to indent 4 Spaces by default?

Created on 13 Mar 2018  路  4Comments  路  Source: angular/angular-cli

Versions

<!--
Output from: `ng --version`.
If nothing, output from: `node --version` and `npm --version`.
  Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
-->

Repro steps

  • Step 1
  • Step 2
  • Step 3

Observed behavior

<!-- Normally this includes a stack trace and some more information. -->

Desired behavior

Mention any other details that might be useful (optional)

Most helpful comment

Unreal... Why is this issue closed? How about add a simple flag to control the indentation instead of being _enterprise_ developers and making everyone write tons of boilerplate to accomplish what should be a straightforward task.

All 4 comments

You would need to write a custom schematic, you can read more here.

That's... kind of insane.

Unreal... Why is this issue closed? How about add a simple flag to control the indentation instead of being _enterprise_ developers and making everyone write tons of boilerplate to accomplish what should be a straightforward task.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings