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