UNPKG

eslint-plugin-export-scope

Version:

Don't leak LOCAL utils, states, components into the global scope

6 lines (5 loc) 297 B
import { type TSESTree } from "@typescript-eslint/utils"; export interface ProgramValidationContext { filename: string; } export declare const validateProgram: (context: ProgramValidationContext, node: TSESTree.Program, lintNode: (node: TSESTree.Node, elExportPath?: string) => void) => void;