getUnusedCodeConfig static method
Creates an unused code config from given raw config
.
Implementation
static UnusedCodeAnalysisConfig getUnusedCodeConfig(
UnusedCodeConfig config,
String rootPath,
) =>
UnusedCodeAnalysisConfig(
createAbsolutePatterns(config.excludePatterns, rootPath),
createAbsolutePatterns(config.analyzerExcludePatterns, rootPath),
isMonorepo: config.isMonorepo,
);