]> git.proxmox.com Git - pve-eslint.git/blame - eslint/messages/plugin-invalid.js
import 8.23.1 source
[pve-eslint.git] / eslint / messages / plugin-invalid.js
CommitLineData
5422a9cc
TL
1"use strict";
2
3module.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
14If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
8f9d1d4d 15`.trimStart();
5422a9cc 16};