pontoon
pontoon copied to clipboard
Fix #2931 - New ESLint Rules & Fixes
Introduces two new ESLint rules (with their default options supplied) to be enforced when linting:
-
no-var -
prefer-const
Additionally, fixes the ~230 issues raised by these two new rules when linting against the "pontoon/" subdirectory when running the make eslint command.