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