Query module MissingExports

name
Missing exports qualifier
description
Referencing an undeclared global variable in a module that exports a definition of the same name is confusing and may indicate a bug.
kind
problem
problem.severity
error
id
js/node/missing-exports-qualifier
tags
maintainability frameworks/node.js
precision
high

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Predicates

definedInModule

Holds if variable v is assigned somewhere in module m.