eslint-plugin-perfectionist
Version:
ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
14 lines (13 loc) • 445 B
TypeScript
import { TSESLint } from '@typescript-eslint/utils'
import { TSESTree } from '@typescript-eslint/types'
/**
* Recursively computes all scope references deeply for a given node.
*
* @param node - The AST node.
* @param sourceCode - The source code object.
* @returns The list of scope references.
*/
export declare function computeDeepScopeReferences(
node: TSESTree.Node,
sourceCode: TSESLint.SourceCode,
): TSESLint.Scope.Reference[]