no-mutable-exports
Configuration
rslint.config.ts
Rule Details
Forbids the use of mutable exports with var or let.
Mutable exports can lead to hard-to-understand code because importers might not expect the exported value to change after import. Use const for exported values, or export functions/classes instead.
Examples of incorrect code for this rule:
Examples of correct code for this rule:
Original Documentation
https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-mutable-exports.md