UNPKG

eslint-plugin-sonarjs

Version:
10 lines (9 loc) 450 B
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; }