You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make all imports and exports explicit so that internal classes / objects etc are not inadvertently made public and become part of the public API. Also helps with tree-shaking.
Make all imports and exports explicit so that internal classes / objects etc are not inadvertently made public and become part of the public API. Also helps with tree-shaking.
Similar to open-telemetry/opentelemetry-js#4186 in core, but in contrib, this involves:
export * from 'foo';
toexport { foo } from 'foo';
for parity"no-restricted-syntax": ["error", "ExportAllDeclaration"],
to error on these types of exportsAs an example:
export * from './AsyncHooksContextManager';
becomes
export { AsyncHooksContextManager } from './AsyncHooksContextManager';
The text was updated successfully, but these errors were encountered: