Files
NapCatQQ/.pnpm-store/v3/files/8b/3f76ccd6f7558208a663fc3b54beecfd2de38c9a4ebeec78e90023286337aea8a84ee6a0b47e6e9eaeb95e7f6d202c2bae35490fd278012ff4aa712999675f
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

21 lines
873 B
Plaintext

import type { TSESTree } from '@typescript-eslint/utils';
import type { Arrayable } from '../types.js';
export interface Options {
basePath?: string;
zones?: Array<{
from: Arrayable<string>;
target: Arrayable<string>;
message?: string;
except?: string[];
}>;
}
export type MessageId = 'path' | 'mixedGlob' | 'glob' | 'zone';
export interface Validator {
isPathRestricted: (absoluteImportPath: string) => boolean;
hasValidExceptions: boolean;
isPathException?: (absoluteImportPath: string) => boolean;
reportInvalidException: (node: TSESTree.Node) => void;
}
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageId, [(Options | undefined)?], import("../utils/create-rule.ts").ImportXPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
export default _default;