gitea push

This commit is contained in:
2026-05-09 12:19:29 -06:00
parent 06113c95b8
commit 429461e985
1481 changed files with 74306 additions and 52475 deletions
+6
View File
@@ -13,6 +13,9 @@ export type FixupConfigArray = Array<FixupConfig>;
* Converts an ESLint ignore pattern to a minimatch pattern.
* @param {string} pattern The .eslintignore or .gitignore pattern to convert.
* @returns {string} The converted pattern.
*
* @deprecated Use the `convertIgnorePatternToMinimatch()` function exported by
* `@eslint/config-helpers` instead.
*/
export function convertIgnorePatternToMinimatch(pattern: string): string;
/**
@@ -42,5 +45,8 @@ export function fixupRule(ruleDefinition: FixupRuleDefinition | FixupLegacyRuleD
* @param {string} [name] The name of the ignore file config.
* @returns {FlatConfig} An object with an `ignores` property that is an array of ignore patterns.
* @throws {Error} If the ignore file path is not an absolute path.
*
* @deprecated Use the `includeIgnoreFile()` function exported by
* `@eslint/config-helpers` instead (also available at `eslint/config`).
*/
export function includeIgnoreFile(ignoreFilePath: string, name?: string): FlatConfig;
+6
View File
@@ -489,6 +489,9 @@ function fixupConfigRules(config) {
* Converts an ESLint ignore pattern to a minimatch pattern.
* @param {string} pattern The .eslintignore or .gitignore pattern to convert.
* @returns {string} The converted pattern.
*
* @deprecated Use the `convertIgnorePatternToMinimatch()` function exported by
* `@eslint/config-helpers` instead.
*/
function convertIgnorePatternToMinimatch(pattern) {
const isNegated = pattern.startsWith("!");
@@ -537,6 +540,9 @@ function convertIgnorePatternToMinimatch(pattern) {
* @param {string} [name] The name of the ignore file config.
* @returns {FlatConfig} An object with an `ignores` property that is an array of ignore patterns.
* @throws {Error} If the ignore file path is not an absolute path.
*
* @deprecated Use the `includeIgnoreFile()` function exported by
* `@eslint/config-helpers` instead (also available at `eslint/config`).
*/
function includeIgnoreFile(ignoreFilePath, name) {
if (!path.isAbsolute(ignoreFilePath)) {