Skip to content

Instantly share code, notes, and snippets.

@taylorhutchison
Created January 7, 2023 18:08
Show Gist options
  • Save taylorhutchison/088aed7cad85c6a47f808764f63c10f1 to your computer and use it in GitHub Desktop.
Save taylorhutchison/088aed7cad85c6a47f808764f63c10f1 to your computer and use it in GitHub Desktop.
Angular CLI schematic changes for components, directives, and services.
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"schematics": {
"@schematics/angular": {
"component": {
"inlineTemplate": true,
"inlineStyle": true,
"skipTests": true,
"flat": true,
"changeDetection": "OnPush"
},
"directive": {
"skipTests": true,
"flat": true
},
"service": {
"flat": true
}
}
}
// ... angular.json continues
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment