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,43 @@
interface FlatGitignoreOptions {
/**
* Name of the configuration.
* @default 'gitignore'
*/
name?: string;
/**
* Path to `.gitignore` files, or files with compatible formats like `.eslintignore`.
* @default ['.gitignore'] // or findUpSync('.gitignore')
*/
files?: string | string[];
/**
* Path to `.gitmodules` file.
* @default ['.gitmodules'] // or findUpSync('.gitmodules')
*/
filesGitModules?: string | string[];
/**
* Throw an error if gitignore file not found.
* @default true
*/
strict?: boolean;
/**
* Mark the current working directory as the root directory,
* disable searching for `.gitignore` files in parent directories.
*
* This option is not effective when `files` is explicitly specified.
* @default false
*/
root?: boolean;
/**
* Current working directory.
* Used to resolve relative paths.
* @default process.cwd()
*/
cwd?: string;
}
interface FlatConfigItem {
ignores: string[];
name?: string;
}
declare function ignore(options?: FlatGitignoreOptions): FlatConfigItem;
export { type FlatConfigItem, type FlatGitignoreOptions, ignore as default };