@useinsider/eslint-config 4.0.0-beta.2 → 4.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -357,6 +357,11 @@ function inventoryLines(diagnosis) {
357
357
  ];
358
358
  }
359
359
  function guidanceBody(diagnosis) {
360
+ if (diagnosis.kind === "complete") return [
361
+ `All three files are already here, so there is nothing to migrate — ${TARGET_CALLEE_NAME}() was`,
362
+ `reached from somewhere other than ${diagnosis.lintModule ?? LINT_MODULE_FILENAMES[0]}. Only the`,
363
+ "lint module may call it; the two configs import the renderers it exports."
364
+ ];
360
365
  if (diagnosis.kind === "unmigratedV3") return [
361
366
  "`useInsider()` no longer returns a flat-config array, so the config it is called from has",
362
367
  "to become a module both linters can import. The migration does that rewrite for you:",