Website Structure

This commit is contained in:
supalerk-ar66 2026-01-13 10:46:40 +07:00
parent 62812f2090
commit 71f0676a62
22365 changed files with 4265753 additions and 791 deletions

View file

@ -0,0 +1,20 @@
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;