43 lines
1016 B
Plaintext
Raw Normal View History

== Why is this an issue?
Dependencies should be explicitly listed in the ``++package.json++`` file. Importing a module that is not declared as a dependency makes it an implicit one and is bound to create problems. For example, a code might depend on a module that is present in ``++node_modules++`` as a transitive dependency; this dependency could be updated or removed without you noticing that, which could make your code fail.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Either remove this import or add it as a dependency.
=== Parameters
.whitelist
****
_STRING_
----
""
----
Comma separated list of modules to ignore while checking in package.json.
****
=== Highlighting
The import statement
'''
== Comments And Links
(visible only on this page)
=== on 14 Nov 2017, 20:40:28 Ann Campbell wrote:
Importing where [~jeanchristophe.collet]? In a .ts file? What kind of problems will be created?
endif::env-github,rspecator-view[]