LintConfig class

Represents raw lint config which can be merged with other raw configs.

Constructors

LintConfig({required Iterable<String> excludePatterns, required Iterable<String> excludeForMetricsPatterns, required Map<String, Object> metrics, required Map<String, Map<String, Object>> rules, required Iterable<String> excludeForRulesPatterns, required Map<String, Map<String, Object>> antiPatterns})
const
LintConfig.fromAnalysisOptions(AnalysisOptions options)
Creates the config from analysis options.
factory
LintConfig.fromArgs(ParsedArguments arguments)
Creates the config from cli arguments.
factory

Properties

antiPatterns Map<String, Map<String, Object>>
final
excludeForMetricsPatterns Iterable<String>
final
excludeForRulesPatterns Iterable<String>
final
excludePatterns Iterable<String>
final
hashCode int
The hash code for this object.
no setterinherited
metrics Map<String, Object>
final
rules Map<String, Map<String, Object>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

merge(LintConfig overrides) LintConfig
Merges two configs into a single one
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