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:
13
node_modules/eslint/lib/services/warning-service.js
generated
vendored
13
node_modules/eslint/lib/services/warning-service.js
generated
vendored
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user