eslint-plugin-sonarjs
Version:
5 lines (4 loc) • 314 B
TypeScript
import type { Rule } from 'eslint';
import { type NormalizedAbsolutePath } from '../files.js';
/** Bounds standalone dependency lookup to the repository containing the linted file. */
export declare function getDependencyTopDir(context: Rule.RuleContext, filePath: NormalizedAbsolutePath): NormalizedAbsolutePath;