UNPKG

eslint-plugin-export-scope

Version:

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

11 lines (10 loc) 604 B
import { ESLintUtils } from "@typescript-eslint/utils"; export declare const ruleName = "no-imports-outside-export-scope"; declare const errorMessages: { readonly exportScope: "Cannot import {{ identifier }} outside its export scope"; readonly invalidPath: "Invalid scope path: \"{{ identifier }}\""; readonly onlyParents: "Only parent dirs are allowed for @scope and @scopeDefault"; }; export type MessageIdsType = keyof typeof errorMessages; export declare const rule: ESLintUtils.RuleModule<"exportScope" | "invalidPath" | "onlyParents", [], unknown, ESLintUtils.RuleListener>; export {};