ScanRunner constructor
ScanRunner({
- required String targetPath,
- List<
String> ? dartFiles, - String? tier,
- Set<
String> ? enabledRuleNames, - ScanMessageSink? messageSink,
- bool applyExclusionsToFileList = true,
- String? debugRule,
- bool excludeLightLane = false,
- bool bypassTierCap = false,
- RuleLane lane = RuleLane.full,
- bool laneStats = false,
- bool disableIssueCap = false,
- List<
String> excludeGlobs = const [], - List<
String> includeGlobs = const [],
Implementation
ScanRunner({
required this.targetPath,
this.dartFiles,
this.tier,
this.enabledRuleNames,
this.messageSink,
this.applyExclusionsToFileList = true,
this.debugRule,
this.excludeLightLane = false,
this.bypassTierCap = false,
this.lane = RuleLane.full,
this.laneStats = false,
this.disableIssueCap = false,
List<String> excludeGlobs = const [],
List<String> includeGlobs = const [],
}) : _excludePatterns = excludeGlobs.map(_globToRegex).toList(),
_includePatterns = includeGlobs.map(_globToRegex).toList();