Configuration options for the DefaultFlowrAnalyzerProjectDiscoveryPlugin.

interface ProjectDiscoveryConfig {
    excludePathsRegex?: RegExp;
    ignorePathsRegex?: RegExp;
    onlyTraversePaths?: RegExp;
    triggerOnExtensions?: RegExp;
}

Properties

excludePathsRegex?: RegExp

the regex to exclude certain paths from being requested as R files (they are still collected as text files)

ignorePathsRegex?: RegExp

the regex to ignore certain paths entirely

onlyTraversePaths?: RegExp

if set, only paths matching this regex are traversed

triggerOnExtensions?: RegExp

the regex to trigger R source file discovery on (and hence analyze them as R files)