Closed madoar closed 4 years ago
https://github.com/PhoenicisOrg/scripts/blob/5fe4e1f8a9e0f1003e1e9c523c4afb61d15042f7/Applications/Games/Age%20of%20Empires%20II%20HD/Steam/script.js#L10-L16
Is AoE II the only script which uses var?
var
No I guess not I stumbled over it when searching for postInstall occurrences
postInstall
We could use https://eslint.org/docs/rules/prefer-const and https://eslint.org/docs/rules/no-var.
Fixed in #1180.
https://github.com/PhoenicisOrg/scripts/blob/5fe4e1f8a9e0f1003e1e9c523c4afb61d15042f7/Applications/Games/Age%20of%20Empires%20II%20HD/Steam/script.js#L10-L16