Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X] feature request
Versions.
| Software |
Version |
| @angular/cli |
1.0.2 |
| node |
7.10.0 |
| os |
win32 x64 |
| @angular/animations |
4.1.1 |
| @angular/common |
4.1.1 |
| @angular/compiler |
4.1.1 |
| @angular/core |
4.1.1 |
| @angular/forms |
4.1.1 |
| @angular/http |
4.1.1 |
| @angular/material |
2.0.0-beta.3 |
| @angular/platform-browser |
4.1.1 |
| @angular/platform-browser-dynamic |
4.1.1 |
| @angular/platform-server |
4.1.1 |
| @angular/router |
4.1.1 |
| @angular/cli |
1.0.2 |
| @angular/compiler-cli |
4.1.1 |
Repro steps.
Execute
ng generate component test --module=app.module --spec=false
Behavior
When you open test.component.ts the indention is set to space and the strings are surrounded by '
In my tslint.json I set the following (extraction):
{
"indent": [
true,
"tabs"
],
"quotemark": [
true,
"double"
],
}
Desired functionality.
ng generate should - at least (further settings are also welcome) - use the indention and quotemarks that are configured in tslint.
Bug Report or Feature Request (mark with an
x)Versions.
Repro steps.
Execute
ng generate component test --module=app.module --spec=falseBehavior
When you open test.component.ts the indention is set to space and the strings are surrounded by '
In my tslint.json I set the following (extraction):
{ "indent": [ true, "tabs" ], "quotemark": [ true, "double" ], }Desired functionality.
ng generate should - at least (further settings are also welcome) - use the indention and quotemarks that are configured in tslint.