W002

generated from midad spec --json at build time; not edited by hand

W002 warning

import {imp} reaches outside the project directory

What to do

keep a project's files inside its own directory; an import that climbs out is a dependency that will not travel with the project

From the binary

$ midad explain W002
W002 (warning)
  import `{imp}` reaches outside the project directory
  fix: keep a project's files inside its own directory; an import that climbs out is a dependency that will not travel with the project

A message template can carry {} where the checker fills in the values it saw: the type it expected, the target it refused, the name it could not find.

On this page