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:
14
node_modules/eslint/lib/linter/linter.js
generated
vendored
14
node_modules/eslint/lib/linter/linter.js
generated
vendored
@@ -1921,6 +1921,20 @@ class Linter {
|
||||
});
|
||||
}
|
||||
} else {
|
||||
if (config.language === jslang) {
|
||||
for (const comment of sourceCode.getInlineConfigNodes()) {
|
||||
const { label } = commentParser.parseDirective(
|
||||
comment.value,
|
||||
);
|
||||
if (label === "eslint-env") {
|
||||
slots.warningService.emitESLintEnvWarning(
|
||||
options.filename,
|
||||
comment.loc.start.line,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const inlineConfigResult = sourceCode.applyInlineConfig?.();
|
||||
|
||||
if (inlineConfigResult) {
|
||||
|
||||
Reference in New Issue
Block a user