no-useless-empty-export
Configuration
rslint.config.ts
Rule Details
Disallow empty exports (export {}) that don't affect the module's exports. An empty export {} is used to turn a script file into a module, but if the file already has other imports or exports, this empty export is unnecessary and can be removed.
This rule does not flag empty exports in .d.ts definition files, where they may be needed for module encapsulation.
Examples of incorrect code for this rule:
Examples of correct code for this rule: