UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

10 lines (9 loc) 567 B
import type { LintingRuleConfig, LintingRuleNames } from './linter-rules'; import type { NormalizedAst } from '../r-bridge/lang-4.x/ast/model/processing/decorate'; import type { DataflowInformation } from '../dataflow/info'; import type { LintingResults } from './linter-format'; import type { DeepPartial } from 'ts-essentials'; export declare function executeLintingRule<Name extends LintingRuleNames>(ruleName: Name, input: { normalize: NormalizedAst; dataflow: DataflowInformation; }, config?: DeepPartial<LintingRuleConfig<Name>>): LintingResults<Name>;