Skip to content

Commit 0a6dfd0

Browse files
committed
refactor(exporter-metrics-otlp-grpc): fix eslint warning
``` /home/runner/work/opentelemetry-js/opentelemetry-js/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/src/index.ts 20:1 warning Using 'ExportAllDeclaration' is not allowed no-restricted-syntax ``` The comment say we should do this before the next "major" (minor since we are pre-1.0?) version, which means this is the right time to do it. However, I'm not sure if there is a real need/reason for that. As far as I can tell, this is still exporting exactly the same items and shouldn't cause any breakages? Ref open-telemetry#5365
1 parent f513e3f commit 0a6dfd0

File tree

1 file changed

+1
-4
lines changed
  • experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/src

1 file changed

+1
-4
lines changed

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

+1-4
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)