版博士V2.0程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
662 B

  1. "use strict";
  2. module.exports = function(it) {
  3. const { configName, importerName } = it;
  4. return `
  5. "${configName}" is invalid syntax for a config specifier.
  6. * If your intention is to extend from a configuration exported from the plugin, add the configuration name after a slash: e.g. "${configName}/myConfig".
  7. * If this is the name of a shareable config instead of a plugin, remove the "plugin:" prefix: i.e. "${configName.slice("plugin:".length)}".
  8. "${configName}" was referenced from the config file in "${importerName}".
  9. If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
  10. `.trimStart();
  11. };