Some checks failed
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Deploy static site / Deploy to GitHub Pages (push) Has been cancelled
Deploy static site / Deploy via Docker to hatch.surf (push) Has been cancelled
Resolved conflicts by taking GitHub versions for: - .dockerignore, .gitignore, Dockerfile, README.md, docker-compose.yml Kept deploy.sh updated to: - Pull from GitHub (primary source) - Push to Gitea (push-mirror) - Build from site/ directory (GitHub structure) Co-Authored-By: Paperclip <noreply@paperclip.ing>
27 lines
1.3 KiB
TypeScript
27 lines
1.3 KiB
TypeScript
export type Config = $eslintcore.ConfigObject;
|
|
export type LegacyConfig = $eslintcore.LegacyConfigObject;
|
|
export type Plugin = $eslintcore.Plugin;
|
|
export type RuleConfig = $eslintcore.RuleConfig;
|
|
export type ExtendsElement = $typests.ExtendsElement;
|
|
export type SimpleExtendsElement = $typests.SimpleExtendsElement;
|
|
export type ConfigWithExtends = $typests.ConfigWithExtends;
|
|
export type InfiniteConfigArray = $typests.InfiniteArray<Config>;
|
|
export type ConfigWithExtendsArray = $typests.ConfigWithExtendsArray;
|
|
/**
|
|
* Helper function to define a config array.
|
|
* @param {ConfigWithExtendsArray} args The arguments to the function.
|
|
* @returns {Config[]} The config array.
|
|
* @throws {TypeError} If no arguments are provided or if an argument is not an object.
|
|
*/
|
|
export function defineConfig(...args: ConfigWithExtendsArray): Config[];
|
|
/**
|
|
* Creates a global ignores config with the given patterns.
|
|
* @param {string[]} ignorePatterns The ignore patterns.
|
|
* @param {string} [name] The name of the global ignores config.
|
|
* @returns {Config} The global ignores config.
|
|
* @throws {TypeError} If ignorePatterns is not an array or if it is empty.
|
|
*/
|
|
export function globalIgnores(ignorePatterns: string[], name?: string): Config;
|
|
import type * as $eslintcore from "@eslint/core";
|
|
import type * as $typests from "./types.cts";
|