appsettings.StormPetrel.json
Scand.StormPetrel.Generator NuGet package appsettings.StormPetrel.json file
| Type | object |
|---|---|
| File match |
appsettings.StormPetrel.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/appsettings-stormpetrel-json/latest.json |
| Source | https://raw.githubusercontent.com/Scandltd/storm-petrel/main/generator/assets/appsettings.StormPetrel.Schema.json |
Validate with Lintel
npx @lintel/lintel check
See more details in Configuration Documentation: https://github.com/Scandltd/storm-petrel/blob/main/generator/README.md#configuration
Properties
[optional] string, configures the default Generator. An expression for the IGenerator instance.
[optional] object to configure Generator behavior.
3 nested properties
[optional] string, instantiates GeneratorBackuper by default. An expression for the IGeneratorBackuper instance. Set to 'null' to skip creating backup files.
[optional] string, instantiates GeneratorDumper by default. An expression for the IGeneratorDumper instance.
[optional] string, instantiates GeneratorRewriter by default. An expression for the IGeneratorRewriter instance.
[optional] boolean, false is by default. Indicates whether the generator should create 'StormPetrel' classes. Even if set to 'false', the generator still adds classes like 'IGeneratorDumper', 'GeneratorDumper' to avoid test project compilation failures in the case when custom classes uses them.
[optional] string, empty by default. Regular Expression to exclude certain paths from 'StormPetrel' class generation.
[optional] string, empty by default. Regular Expression to detect invocation expressions to not execute StormPetrel rewriting for.
[optional] array of objects. Configures naming pairs for actual/expected variables to generate correct expected baselines.
Definitions
[optional] string, configures the default Generator. An expression for the IGenerator instance.
[optional] object to configure Generator behavior.
[optional] string, instantiates GeneratorBackuper by default. An expression for the IGeneratorBackuper instance. Set to 'null' to skip creating backup files.
[optional] string, instantiates GeneratorDumper by default. An expression for the IGeneratorDumper instance.
[optional] string, instantiates GeneratorRewriter by default. An expression for the IGeneratorRewriter instance.
[optional] boolean, false is by default. Indicates whether the generator should create 'StormPetrel' classes. Even if set to 'false', the generator still adds classes like 'IGeneratorDumper', 'GeneratorDumper' to avoid test project compilation failures in the case when custom classes uses them.
[optional] string, empty by default. Regular Expression to exclude certain paths from 'StormPetrel' class generation.
[optional] string, empty by default. Regular Expression to detect invocation expressions to not execute StormPetrel rewriting for.
[optional] boolean, true is by default. Indicates whether the generator should add #nullable enable and related directives under #if !NETFRAMEWORK || SCAND_STORM_PETREL_NULLABLE_ENABLE condition to auto-generated StormPetrel' files. This allows to avoid related compiler warnings/errors since auto-generated code has nullable reference types disabled regardless project global settings.
[optional] array of objects. Configures naming pairs for actual/expected variables to generate correct expected baselines.
[optional] Logging configuration using Serilog. Defaults to logging warnings to the test project's Logs folder. Set to 'null' to disable logging. Use the '{StormPetrelRootPath}' token to indicate the target test project root path.