--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid_with_empty_export.js --- # Input ```jsx export {} export {} ``` # Diagnostics ``` invalid_with_empty_export.js:1:1 lint/complexity/noUselessEmptyExport FIXABLE ━━━━━━━━━━━━━━━━━━━━ ! This empty export is useless because there's another export or import. > 1 │ export {} │ ^^^^^^^^^ 2 │ export {} i This export makes useless the empty export. 1 │ export {} > 2 │ export {} │ ^^^^^^ i Safe fix: Remove this useless empty export. 1 │ export·{} │ --------- ```