Require const declarations for variables that are never reassigned after being declared. If a variable is never reassigned, using the const declaration is better. const declaration tells readers, “this variable is never reassigned,” reducing cognitive load and improving maintainability. |
||
|---|---|---|
| .. | ||
| fileSystemConfigurationValidator.js | ||
| index.js | ||
| targetEnvironmentValidator.js | ||