This commit is contained in:
Pablo Martin 2025-06-04 17:06:54 +02:00
parent c44d00c625
commit a561131d0c
1260 changed files with 295975 additions and 0 deletions

View file

@ -0,0 +1,13 @@
"use strict";
const { stringifyValueForError } = require("./shared");
module.exports = function ({ ruleId, value }) {
return `
Configuration for rule "${ruleId}" is invalid. Expected severity of "off", 0, "warn", 1, "error", or 2.
You passed '${stringifyValueForError(value, 4)}'.
See https://eslint.org/docs/latest/use/configure/rules#using-configuration-files for configuring rules.
`.trimStart();
};