mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 22:34:21 +08:00
This change aligns the file layout of applications generated with `ng new` and `ng generate` Ref: TOOL-686
19 lines
361 B
Plaintext
19 lines
361 B
Plaintext
{<% if (!isRootApp) { %>
|
|
"extends": "<%= relativePathToWorkspaceRoot %>/tslint.json",<%
|
|
} %>
|
|
"rules": {
|
|
"directive-selector": [
|
|
true,
|
|
"attribute",
|
|
"<%= utils.camelize(prefix) %>",
|
|
"camelCase"
|
|
],
|
|
"component-selector": [
|
|
true,
|
|
"element",
|
|
"<%= utils.dasherize(prefix) %>",
|
|
"kebab-case"
|
|
]
|
|
}
|
|
}
|