Fred Tingaud 16f6c0aecf
Inline adoc when include has no additional value (#1940)
Inline adoc files when they are included exactly once.

Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00

43 lines
1016 B
Plaintext

== 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[]