@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.cjs CHANGED
@@ -360,6 +360,11 @@ function inventoryLines(diagnosis) {
360
360
  ];
361
361
  }
362
362
  function guidanceBody(diagnosis) {
363
+ if (diagnosis.kind === "complete") return [
364
+ `All three files are already here, so there is nothing to migrate — ${TARGET_CALLEE_NAME}() was`,
365
+ `reached from somewhere other than ${diagnosis.lintModule ?? LINT_MODULE_FILENAMES[0]}. Only the`,
366
+ "lint module may call it; the two configs import the renderers it exports."
367
+ ];
363
368
  if (diagnosis.kind === "unmigratedV3") return [
364
369
  "`useInsider()` no longer returns a flat-config array, so the config it is called from has",
365
370
  "to become a module both linters can import. The migration does that rewrite for you:",