Type object
File match .angular-cli.json angular-cli.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/angular-cli-json/latest.json
Source https://raw.githubusercontent.com/angular/angular-cli/v10.1.6/packages/angular/cli/lib/config/schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

version integer required

File format version

min=1
$schema string
cli object
4 nested properties
defaultCollection string

The default schematics collection to use.

packageManager string

Specify which package manager tool to use.

Values: "npm" "cnpm" "yarn" "pnpm"
warnings object

Control CLI specific console warnings

1 nested properties
versionMismatch boolean

Show a warning when the global version is newer than the local one.

analytics boolean | string

Share anonymous usage data with the Angular Team at Google.

schematics Record<string, object>
6 nested properties
@schematics/angular:component object
14 nested properties
changeDetection string

Specifies the change detection strategy.

Default: "Default"
Values: "Default" "OnPush"
displayBlock boolean

Specifies if the style will contain :host { display: block; }.

Default: false
entryComponent boolean

Specifies if the component is an entry component of declaring module.

Default: false
export boolean

Specifies if declaring module exports the component.

Default: false
flat boolean

Flag to indicate if a directory is created.

Default: false
inlineStyle boolean

Specifies if the style will be in the ts file.

Default: false
inlineTemplate boolean

Specifies if the template will be in the ts file.

Default: false
module string

Allows specification of the declaring module.

prefix string

The prefix to apply to generated selectors.

format=html-selector
selector string

The selector to use for the component.

format=html-selector
skipImport boolean

Flag to skip the module import.

Default: false
style string

The file extension or preprocessor to use for style files.

Default: "css"
Values: "css" "scss" "sass" "less" "styl"
viewEncapsulation string

Specifies the view encapsulation strategy.

Values: "Emulated" "Native" "None" "ShadowDom"
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:directive object
7 nested properties
export boolean

Specifies if declaring module exports the directive.

Default: false
flat boolean

Flag to indicate if a directory is created.

Default: true
module string

Allows specification of the declaring module.

prefix string

The prefix to apply to generated selectors.

Default: "app"
format=html-selector
selector string

The selector to use for the directive.

format=html-selector
skipImport boolean

Flag to skip the module import.

Default: false
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:module object
5 nested properties
routing boolean

Generates a routing module.

Default: false
routingScope string

The scope for the generated routing.

Default: "Child"
Values: "Child" "Root"
flat boolean

Flag to indicate if a directory is created.

Default: false
commonModule boolean

Flag to control whether the CommonModule is imported.

Default: true
module string

Allows specification of the declaring module.

@schematics/angular:service object
2 nested properties
flat boolean

Flag to indicate if a directory is created.

Default: true
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:pipe object
5 nested properties
flat boolean

Flag to indicate if a directory is created.

Default: true
skipTests boolean

When true, does not create test files.

Default: false
skipImport boolean

Allows for skipping the module import.

Default: false
module string

Allows specification of the declaring module.

Default: ""
export boolean

Specifies if declaring module exports the pipe.

Default: false
@schematics/angular:class object
1 nested properties
skipTests boolean

When true, does not create test files.

Default: false
newProjectRoot string

Path where new projects will be created.

defaultProject string

Default project name used in commands.

projects object

Definitions

cliOptions object
defaultCollection string

The default schematics collection to use.

packageManager string

Specify which package manager tool to use.

Values: "npm" "cnpm" "yarn" "pnpm"
warnings object

Control CLI specific console warnings

1 nested properties
versionMismatch boolean

Show a warning when the global version is newer than the local one.

analytics boolean | string

Share anonymous usage data with the Angular Team at Google.

schematicOptions Record<string, object>
@schematics/angular:component object
14 nested properties
changeDetection string

Specifies the change detection strategy.

Default: "Default"
Values: "Default" "OnPush"
displayBlock boolean

Specifies if the style will contain :host { display: block; }.

Default: false
entryComponent boolean

Specifies if the component is an entry component of declaring module.

Default: false
export boolean

Specifies if declaring module exports the component.

Default: false
flat boolean

Flag to indicate if a directory is created.

Default: false
inlineStyle boolean

Specifies if the style will be in the ts file.

Default: false
inlineTemplate boolean

Specifies if the template will be in the ts file.

Default: false
module string

Allows specification of the declaring module.

prefix string

The prefix to apply to generated selectors.

format=html-selector
selector string

The selector to use for the component.

format=html-selector
skipImport boolean

Flag to skip the module import.

Default: false
style string

The file extension or preprocessor to use for style files.

Default: "css"
Values: "css" "scss" "sass" "less" "styl"
viewEncapsulation string

Specifies the view encapsulation strategy.

Values: "Emulated" "Native" "None" "ShadowDom"
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:directive object
7 nested properties
export boolean

Specifies if declaring module exports the directive.

Default: false
flat boolean

Flag to indicate if a directory is created.

Default: true
module string

Allows specification of the declaring module.

prefix string

The prefix to apply to generated selectors.

Default: "app"
format=html-selector
selector string

The selector to use for the directive.

format=html-selector
skipImport boolean

Flag to skip the module import.

Default: false
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:module object
5 nested properties
routing boolean

Generates a routing module.

Default: false
routingScope string

The scope for the generated routing.

Default: "Child"
Values: "Child" "Root"
flat boolean

Flag to indicate if a directory is created.

Default: false
commonModule boolean

Flag to control whether the CommonModule is imported.

Default: true
module string

Allows specification of the declaring module.

@schematics/angular:service object
2 nested properties
flat boolean

Flag to indicate if a directory is created.

Default: true
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:pipe object
5 nested properties
flat boolean

Flag to indicate if a directory is created.

Default: true
skipTests boolean

When true, does not create test files.

Default: false
skipImport boolean

Allows for skipping the module import.

Default: false
module string

Allows specification of the declaring module.

Default: ""
export boolean

Specifies if declaring module exports the pipe.

Default: false
@schematics/angular:class object
1 nested properties
skipTests boolean

When true, does not create test files.

Default: false
fileVersion integer

File format version

project object
root string required

Root of the project files.

projectType string required

Project type.

Values: "application" "library"
cli object
4 nested properties
defaultCollection string

The default schematics collection to use.

packageManager string

Specify which package manager tool to use.

Values: "npm" "cnpm" "yarn" "pnpm"
warnings object

Control CLI specific console warnings

1 nested properties
versionMismatch boolean

Show a warning when the global version is newer than the local one.

analytics boolean | string

Share anonymous usage data with the Angular Team at Google.

schematics Record<string, object>
6 nested properties
@schematics/angular:component object
14 nested properties
changeDetection string

Specifies the change detection strategy.

Default: "Default"
Values: "Default" "OnPush"
displayBlock boolean

Specifies if the style will contain :host { display: block; }.

Default: false
entryComponent boolean

Specifies if the component is an entry component of declaring module.

Default: false
export boolean

Specifies if declaring module exports the component.

Default: false
flat boolean

Flag to indicate if a directory is created.

Default: false
inlineStyle boolean

Specifies if the style will be in the ts file.

Default: false
inlineTemplate boolean

Specifies if the template will be in the ts file.

Default: false
module string

Allows specification of the declaring module.

prefix string

The prefix to apply to generated selectors.

format=html-selector
selector string

The selector to use for the component.

format=html-selector
skipImport boolean

Flag to skip the module import.

Default: false
style string

The file extension or preprocessor to use for style files.

Default: "css"
Values: "css" "scss" "sass" "less" "styl"
viewEncapsulation string

Specifies the view encapsulation strategy.

Values: "Emulated" "Native" "None" "ShadowDom"
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:directive object
7 nested properties
export boolean

Specifies if declaring module exports the directive.

Default: false
flat boolean

Flag to indicate if a directory is created.

Default: true
module string

Allows specification of the declaring module.

prefix string

The prefix to apply to generated selectors.

Default: "app"
format=html-selector
selector string

The selector to use for the directive.

format=html-selector
skipImport boolean

Flag to skip the module import.

Default: false
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:module object
5 nested properties
routing boolean

Generates a routing module.

Default: false
routingScope string

The scope for the generated routing.

Default: "Child"
Values: "Child" "Root"
flat boolean

Flag to indicate if a directory is created.

Default: false
commonModule boolean

Flag to control whether the CommonModule is imported.

Default: true
module string

Allows specification of the declaring module.

@schematics/angular:service object
2 nested properties
flat boolean

Flag to indicate if a directory is created.

Default: true
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:pipe object
5 nested properties
flat boolean

Flag to indicate if a directory is created.

Default: true
skipTests boolean

When true, does not create test files.

Default: false
skipImport boolean

Allows for skipping the module import.

Default: false
module string

Allows specification of the declaring module.

Default: ""
export boolean

Specifies if declaring module exports the pipe.

Default: false
@schematics/angular:class object
1 nested properties
skipTests boolean

When true, does not create test files.

Default: false
prefix string

The prefix to apply to generated selectors.

format=html-selector
i18n object

Project i18n options

2 nested properties
sourceLocale string | object
locales object
sourceRoot string

The root of the source files, assets and index.html file structure.

global object
version integer required

File format version

min=1
$schema string
format=uri
cli object
4 nested properties
defaultCollection string

The default schematics collection to use.

packageManager string

Specify which package manager tool to use.

Values: "npm" "cnpm" "yarn" "pnpm"
warnings object

Control CLI specific console warnings

1 nested properties
versionMismatch boolean

Show a warning when the global version is newer than the local one.

analytics boolean | string

Share anonymous usage data with the Angular Team at Google.

schematics Record<string, object>
6 nested properties
@schematics/angular:component object
14 nested properties
changeDetection string

Specifies the change detection strategy.

Default: "Default"
Values: "Default" "OnPush"
displayBlock boolean

Specifies if the style will contain :host { display: block; }.

Default: false
entryComponent boolean

Specifies if the component is an entry component of declaring module.

Default: false
export boolean

Specifies if declaring module exports the component.

Default: false
flat boolean

Flag to indicate if a directory is created.

Default: false
inlineStyle boolean

Specifies if the style will be in the ts file.

Default: false
inlineTemplate boolean

Specifies if the template will be in the ts file.

Default: false
module string

Allows specification of the declaring module.

prefix string

The prefix to apply to generated selectors.

format=html-selector
selector string

The selector to use for the component.

format=html-selector
skipImport boolean

Flag to skip the module import.

Default: false
style string

The file extension or preprocessor to use for style files.

Default: "css"
Values: "css" "scss" "sass" "less" "styl"
viewEncapsulation string

Specifies the view encapsulation strategy.

Values: "Emulated" "Native" "None" "ShadowDom"
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:directive object
7 nested properties
export boolean

Specifies if declaring module exports the directive.

Default: false
flat boolean

Flag to indicate if a directory is created.

Default: true
module string

Allows specification of the declaring module.

prefix string

The prefix to apply to generated selectors.

Default: "app"
format=html-selector
selector string

The selector to use for the directive.

format=html-selector
skipImport boolean

Flag to skip the module import.

Default: false
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:module object
5 nested properties
routing boolean

Generates a routing module.

Default: false
routingScope string

The scope for the generated routing.

Default: "Child"
Values: "Child" "Root"
flat boolean

Flag to indicate if a directory is created.

Default: false
commonModule boolean

Flag to control whether the CommonModule is imported.

Default: true
module string

Allows specification of the declaring module.

@schematics/angular:service object
2 nested properties
flat boolean

Flag to indicate if a directory is created.

Default: true
skipTests boolean

When true, does not create test files.

Default: false
@schematics/angular:pipe object
5 nested properties
flat boolean

Flag to indicate if a directory is created.

Default: true
skipTests boolean

When true, does not create test files.

Default: false
skipImport boolean

Allows for skipping the module import.

Default: false
module string

Allows specification of the declaring module.

Default: ""
export boolean

Specifies if declaring module exports the pipe.

Default: false
@schematics/angular:class object
1 nested properties
skipTests boolean

When true, does not create test files.

Default: false
targetOptions null
missingTranslation string

How to handle missing translations for i18n.

localize boolean | string[]