ScanRunner constructor

ScanRunner({
  1. required String targetPath,
  2. List<String>? dartFiles,
  3. String? tier,
  4. Set<String>? enabledRuleNames,
  5. ScanMessageSink? messageSink,
  6. bool applyExclusionsToFileList = true,
  7. String? debugRule,
  8. bool excludeLightLane = false,
  9. bool bypassTierCap = false,
  10. RuleLane lane = RuleLane.full,
  11. bool laneStats = false,
  12. bool disableIssueCap = false,
  13. List<String> excludeGlobs = const [],
  14. 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();