-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)featureIssue that requests a new featureIssue that requests a new feature
Description
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.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)featureIssue that requests a new featureIssue that requests a new feature