ConfigBuilder class

Builder for creating a config for all available commands.

Constructors

ConfigBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getLintAnalysisConfig(LintConfig config, String rootFolder, {Iterable<Metric<num>>? classMetrics, Iterable<Metric<num>>? fileMetrics, Iterable<Metric<num>>? functionMetrics}) LintAnalysisConfig
Creates a lint config from given raw config.
getLintConfigFromArgs(ParsedArguments arguments) LintConfig
Creates a raw lint config from given parsed arguments.
getLintConfigFromOptions(AnalysisOptions options) LintConfig
Creates a raw lint config from given options.
getUnnecessaryNullableConfig(UnnecessaryNullableConfig config, String rootPath) UnnecessaryNullableAnalysisConfig
Creates an unnecessary nullable config from given raw config.
getUnnecessaryNullableConfigFromArgs(Iterable<String> excludePatterns, {required bool isMonorepo, required bool shouldPrintConfig}) UnnecessaryNullableConfig
Creates a raw unnecessary nullable config from given excludePatterns.
getUnnecessaryNullableConfigFromOption(AnalysisOptions options) UnnecessaryNullableConfig
Creates a raw unnecessary nullable config from given options.
getUnusedCodeConfig(UnusedCodeConfig config, String rootPath) UnusedCodeAnalysisConfig
Creates an unused code config from given raw config.
getUnusedCodeConfigFromArgs(Iterable<String> excludePatterns, {required bool isMonorepo, required bool shouldPrintConfig}) UnusedCodeConfig
Creates a raw unused code config from given excludePatterns.
getUnusedCodeConfigFromOption(AnalysisOptions options) UnusedCodeConfig
Creates a raw unused code config from given options.
getUnusedFilesConfig(UnusedFilesConfig config, String rootPath) UnusedFilesAnalysisConfig
Creates an unused files config from given raw config.
getUnusedFilesConfigFromArgs(Iterable<String> excludePatterns, {required bool isMonorepo, required bool shouldPrintConfig}) UnusedFilesConfig
Creates a raw unused files config from given excludePatterns.
getUnusedFilesConfigFromOption(AnalysisOptions options) UnusedFilesConfig
Creates a raw unused files config from given options.
getUnusedL10nConfig(UnusedL10nConfig config, String rootPath) UnusedL10nAnalysisConfig
Creates an unused localization config from given raw config.
getUnusedL10nConfigFromArgs(Iterable<String> excludePatterns, String classPattern, {required bool shouldPrintConfig}) UnusedL10nConfig
Creates a raw unused localization config from given excludePatterns and classPattern.
getUnusedL10nConfigFromOption(AnalysisOptions options) UnusedL10nConfig
Creates a raw unused localization config from given options.