source: frontend/node_modules/eslint/messages/invalid-rule-severity.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 410 bytes
Line 
1"use strict";
2
3const { stringifyValueForError } = require("./shared");
4
5module.exports = function({ ruleId, value }) {
6 return `
7Configuration for rule "${ruleId}" is invalid. Expected severity of "off", 0, "warn", 1, "error", or 2.
8
9You passed '${stringifyValueForError(value, 4)}'.
10
11See https://eslint.org/docs/latest/use/configure/rules#using-configuration-files for configuring rules.
12`.trimStart();
13};
Note: See TracBrowser for help on using the repository browser.