Files
memecoin-botV2/.pnpm-store/v10/files/2c/0dd4f7a37d0e506ab3b5cc62e97091097133c40506a306e45e46d16be6867b5f64eaad8012e976d296f4f8c00abe0edabb10b04e8cd74a092e685ceeb14f6d

18 lines
646 B
Plaintext

"use strict";
const { stringifyValueForError } = require("./shared");
module.exports = function ({ ruleId, value }) {
return `
Configuration for rule "${ruleId}" is invalid. Each rule must have a severity ("off", 0, "warn", 1, "error", or 2) and may be followed by additional options for the rule.
You passed '${stringifyValueForError(value, 4)}', which doesn't contain a valid severity.
If you're attempting to configure rule options, perhaps you meant:
"${ruleId}": ["error", ${stringifyValueForError(value, 8)}]
See https://eslint.org/docs/latest/use/configure/rules#use-configuration-files for configuring rules.
`.trimStart();
};