Alan a7d095d916 feat(@schematics/angular): change layout for root applications
This change aligns the file layout of applications generated with `ng new` and `ng generate`

Ref: TOOL-686
2019-03-06 11:28:26 -08:00

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"
]
}
}