Files
med-notes/.pnpm-store/v10/files/81/9b2b0536dcb94267a56eb027cd9c3f1c42ca77452fcfb728b025f45ced828107bec5aa3f596c965066707cc734aa794962aad7c281e1d8c51c5c43a831cbfd
2025-05-09 05:30:08 +02:00

14 lines
408 B
Plaintext

"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();
};