main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
662 bytes
|
Rev | Line | |
---|
[d565449] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | module.exports = function(it) {
|
---|
| 4 | const { configName, importerName } = it;
|
---|
| 5 |
|
---|
| 6 | return `
|
---|
| 7 | "${configName}" is invalid syntax for a config specifier.
|
---|
| 8 |
|
---|
| 9 | * If your intention is to extend from a configuration exported from the plugin, add the configuration name after a slash: e.g. "${configName}/myConfig".
|
---|
| 10 | * If this is the name of a shareable config instead of a plugin, remove the "plugin:" prefix: i.e. "${configName.slice("plugin:".length)}".
|
---|
| 11 |
|
---|
| 12 | "${configName}" was referenced from the config file in "${importerName}".
|
---|
| 13 |
|
---|
| 14 | If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
|
---|
| 15 | `.trimStart();
|
---|
| 16 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.