30 lines
450 B
Plaintext
30 lines
450 B
Plaintext
Multiple imports from the same module should be merged together to improve readability.
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
----
|
|
import { B1 } from 'b';
|
|
import { B2 } from 'b'; // Noncompliant
|
|
----
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
import { B1, B2 } from 'b';
|
|
----
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::message.adoc[]
|
|
|
|
include::highlighting.adoc[]
|
|
|
|
endif::env-github,rspecator-view[]
|