Skip to content

Commit a04284c

Browse files
authored
refactor(exporter-*): remove export * from ... (#5399)
1 parent 27bdf71 commit a04284c

File tree

8 files changed

+8
-29
lines changed

8 files changed

+8
-29
lines changed

experimental/packages/exporter-logs-otlp-grpc/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
/* eslint no-restricted-syntax: ["warn", "ExportAllDeclaration"] --
1818
* TODO: Replace wildcard export with named exports before next major version
1919
*/
20-
export * from './OTLPLogExporter';
20+
export { OTLPLogExporter } from './OTLPLogExporter';

experimental/packages/exporter-trace-otlp-grpc/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint no-restricted-syntax: ["warn", "ExportAllDeclaration"] --
18-
* TODO: Replace wildcard export with named exports before next major version
19-
*/
20-
export * from './OTLPTraceExporter';
17+
export { OTLPTraceExporter } from './OTLPTraceExporter';

experimental/packages/exporter-trace-otlp-http/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint no-restricted-syntax: ["warn", "ExportAllDeclaration"] --
18-
* TODO: Replace wildcard export with named exports before next major version
19-
*/
20-
export * from './platform';
17+
export { OTLPTraceExporter } from './platform';

experimental/packages/exporter-trace-otlp-http/src/platform/browser/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint no-restricted-syntax: ["warn", "ExportAllDeclaration"] --
18-
* TODO: Replace wildcard export with named exports before next major version
19-
*/
20-
export * from './OTLPTraceExporter';
17+
export { OTLPTraceExporter } from './OTLPTraceExporter';

experimental/packages/exporter-trace-otlp-http/src/platform/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint no-restricted-syntax: ["warn", "ExportAllDeclaration"] --
18-
* TODO: Replace wildcard export with named exports before next major version
19-
*/
20-
export * from './node';
17+
export { OTLPTraceExporter } from './node';

experimental/packages/exporter-trace-otlp-http/src/platform/node/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint no-restricted-syntax: ["warn", "ExportAllDeclaration"] --
18-
* TODO: Replace wildcard export with named exports before next major version
19-
*/
20-
export * from './OTLPTraceExporter';
17+
export { OTLPTraceExporter } from './OTLPTraceExporter';

experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint no-restricted-syntax: ["warn", "ExportAllDeclaration"] --
18-
* TODO: Replace wildcard export with named exports before next major version
19-
*/
20-
export * from './OTLPMetricExporter';
17+
export { OTLPMetricExporter } from './OTLPMetricExporter';

experimental/packages/opentelemetry-exporter-metrics-otlp-proto/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint no-restricted-syntax: ["warn", "ExportAllDeclaration"] --
18-
* TODO: Replace wildcard export with named exports before next major version
19-
*/
20-
export * from './OTLPMetricExporter';
17+
export { OTLPMetricExporter } from './OTLPMetricExporter';

0 commit comments

Comments
 (0)