Apply prefer-const lint rule
This commit is contained in:
1 parent
b43088c03c
commit
09e6a360af
26 files changed
+217
-215
No files matched your search
+1
-1
@@ -138,7 +138,7 @@ function setConfig(name, value, commandLineArgument) {
|
||||
}
|
||||
|
||||
let _value = null;
|
||||
for (let [optionName, optionDetails] of Object.entries(options)) {
|
||||
for (const [optionName, optionDetails] of Object.entries(options)) {
|
||||
let n = optionName;
|
||||
if (commandLineArgument) n = n.toLowerCase().replace(/_/g, "-");
|
||||
|
||||
|
||||
Reference in new issue
Block a user