eslint-plugin-export-scope
Version:
Don't leak LOCAL utils, states, components into the global scope
5 lines (4 loc) • 364 B
TypeScript
import { type TSESTree } from "@typescript-eslint/utils";
import { type RuleContext } from "@typescript-eslint/utils/ts-eslint";
import { type MessageIdsType } from "./esLintRule";
export declare const validateProgram: (context: RuleContext<MessageIdsType, never[]>, node: TSESTree.Program, lintNode: (node: TSESTree.Node, elExportPath?: string) => void) => void;