eslint-plugin-sonarjs
Version:
5 lines (4 loc) • 347 B
TypeScript
import type { Rule, Scope, SourceCode } from 'eslint';
import type estree from 'estree';
import { type Suggestion } from './assertion-utils.js';
export declare function getPlaywrightLocatorSuggestion(context: Rule.RuleContext, node: estree.CallExpression, sourceCode: SourceCode, locatorVariables: ReadonlySet<Scope.Variable>): Suggestion | null;