Skip to content

Commit

Permalink
refactor(exporter-metrics-otlp-grpc): fix eslint warning
Browse files Browse the repository at this point in the history
```
/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
  • Loading branch information
chancancode committed Jan 30, 2025
1 parent f513e3f commit 0a6dfd0
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,4 @@
* limitations under the License.
*/

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

0 comments on commit 0a6dfd0

Please sign in to comment.