getUnusedCodeConfigFromArgs static method

UnusedCodeConfig getUnusedCodeConfigFromArgs(
  1. Iterable<String> excludePatterns, {
  2. required bool isMonorepo,
})

Creates a raw unused code config from given excludePatterns.

Implementation

static UnusedCodeConfig getUnusedCodeConfigFromArgs(
  Iterable<String> excludePatterns, {
  required bool isMonorepo,
}) =>
    UnusedCodeConfig.fromArgs(excludePatterns, isMonorepo: isMonorepo);