Skip to content

Files

Latest commit

 

History

History
19 lines (11 loc) · 469 Bytes

no-assign-module-variable.md

File metadata and controls

19 lines (11 loc) · 469 Bytes

Pattern: Value assigned to module variable

Issue: -

Description

A value is being assigned to the module variable. The module variable is already used and it is highly likely that assigning to this variable will cause errors.

Possible Ways to Fix It

Use a different variable name:

let myModule = {...}

Further Reading