Update Bot (j'ai plus le repo sur GitHub)

Qui c'est la conne qui a delete le repo sur GitHub? C'EST MOIIIII
This commit is contained in:
2026-02-09 14:36:26 +01:00
parent eab4419e12
commit ad2014b7b2
586 changed files with 58986 additions and 25205 deletions

View File

@@ -93,6 +93,19 @@ class WarningService {
"ESLintPoorConcurrencyWarning",
);
}
/**
* Emits a warning when eslint-env configuration comments are found.
* @param {string} filename The name of the file being linted.
* @param {number} line The line number of the comment.
* @returns {void}
*/
emitESLintEnvWarning(filename, line) {
this.emitWarning(
`/* eslint-env */ comments are no longer recognized when linting with flat config and will be reported as errors as of v10.0.0. Replace them with /* global */ comments or define globals in your config file. See https://eslint.org/docs/latest/use/configure/migration-guide#eslint-env-configuration-comments for details. Found in ${filename} at line ${line}.`,
"ESLintEnvWarning",
);
}
}
module.exports = { WarningService };