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

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • 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.