Path: blob/main/docs/rules/no-mutable-exports.md
829 views
import/no-mutable-exports
Forbids the use of mutable exports with var or let.
Rule Details
Valid:
...whereas here exports will be reported:
Functions/Classes
Note that exported function/class declaration identifiers may be reassigned, but are not flagged by this rule at this time. They may be in the future, if a reassignment is detected, i.e.
To prevent general reassignment of these identifiers, exported or not, you may want to enable the following core ESLint rules:
When Not To Use It
If your environment correctly implements mutable export bindings.