Update Bot

This commit is contained in:
2026-03-15 11:58:43 +01:00
parent b67c111ffc
commit cd99275933
560 changed files with 23173 additions and 55113 deletions

View File

@@ -15,9 +15,8 @@ export { ObjectSchema } from '@eslint/object-schema';
// Types
//------------------------------------------------------------------------------
/** @import * as $eslintobjectschema from "@eslint/object-schema"; */
/** @typedef {$eslintobjectschema.PropertyDefinition} PropertyDefinition */
/** @typedef {$eslintobjectschema.ObjectDefinition} ObjectDefinition */
/** @typedef {import("@eslint/object-schema").PropertyDefinition} PropertyDefinition */
/** @typedef {import("@eslint/object-schema").ObjectDefinition} ObjectDefinition */
//------------------------------------------------------------------------------
// Helpers
@@ -181,12 +180,10 @@ const filesAndIgnoresSchema = Object.freeze({
// Types
//------------------------------------------------------------------------------
/** @import * as $typests from "./types.ts"; */
/** @typedef {$typests.ConfigObject} ConfigObject */
/** @import * as $minimatch from "minimatch"; */
/** @typedef {$minimatch.IMinimatchStatic} IMinimatchStatic */
/** @typedef {$minimatch.IMinimatch} IMinimatch */
/** @import * as PathImpl from "@jsr/std__path" */
/** @typedef {import("./types.ts").ConfigObject} ConfigObject */
/** @typedef {import("minimatch").IMinimatchStatic} IMinimatchStatic */
/** @typedef {import("minimatch").IMinimatch} IMinimatch */
/** @typedef {import("@jsr/std__path")} PathImpl */
/*
* This is a bit of a hack to make TypeScript happy with the Rollup-created
@@ -195,7 +192,7 @@ const filesAndIgnoresSchema = Object.freeze({
* for `ObjectSchema`. To work around that, we just import the type manually
* and give it a different name to use in the JSDoc comments.
*/
/** @typedef {ObjectSchema} ObjectSchemaInstance */
/** @typedef {import("@eslint/object-schema").ObjectSchema} ObjectSchemaInstance */
//------------------------------------------------------------------------------
// Helpers
@@ -1129,8 +1126,7 @@ class ConfigArray extends Array {
* @param {Object} config The config to finalize.
* @returns {Object} The finalized config.
*/
// Cast key to `never` to prevent TypeScript from adding the signature `[x: symbol]: (config: any) => any` to the type of the class.
[/** @type {never} */ (ConfigArraySymbol.finalizeConfig)](config) {
[ConfigArraySymbol.finalizeConfig](config) {
return config;
}
@@ -1142,8 +1138,7 @@ class ConfigArray extends Array {
* @param {Object} config The config to preprocess.
* @returns {Object} The config to use in place of the argument.
*/
// Cast key to `never` to prevent TypeScript from adding the signature `[x: symbol]: (config: any) => any` to the type of the class.
[/** @type {never} */ (ConfigArraySymbol.preprocessConfig)](config) {
[ConfigArraySymbol.preprocessConfig](config) {
return config;
}