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
|
Rev | Line | |
---|
[d565449] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | const { stringifyValueForError } = require("./shared");
|
---|
| 4 |
|
---|
| 5 | module.exports = function({ ruleId, value }) {
|
---|
| 6 | return `
|
---|
| 7 | Configuration for rule "${ruleId}" is invalid. Expected severity of "off", 0, "warn", 1, "error", or 2.
|
---|
| 8 |
|
---|
| 9 | You passed '${stringifyValueForError(value, 4)}'.
|
---|
| 10 |
|
---|
| 11 | See 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.