getUnnecessaryNullableConfig static method
UnnecessaryNullableAnalysisConfig
getUnnecessaryNullableConfig(
- UnnecessaryNullableConfig config,
- String rootPath
Creates an unnecessary nullable config from given raw config
.
Implementation
static UnnecessaryNullableAnalysisConfig getUnnecessaryNullableConfig(
UnnecessaryNullableConfig config,
String rootPath,
) =>
UnnecessaryNullableAnalysisConfig(
createAbsolutePatterns(config.excludePatterns, rootPath),
createAbsolutePatterns(config.analyzerExcludePatterns, rootPath),
isMonorepo: config.isMonorepo,
);