eslint-plugin-sonarjs
Version:
SonarJS rules for ESLint
10 lines (9 loc) • 450 B
TypeScript
import type { Rule } from 'eslint';
import estree from 'estree';
import { ParserServicesWithTypeInformation } from '@typescript-eslint/utils';
import ts from 'typescript';
export declare namespace Supertest {
function isImported(context: Rule.RuleContext): boolean;
function isAssertion(context: Rule.RuleContext, node: estree.Node): boolean;
function isTSAssertion(services: ParserServicesWithTypeInformation, node: ts.Node): boolean;
}