ES6 has been out for a while and most code linting tools such as ESLint are using ES6 standards by default. Adopting its practices might help to reduce errors and organize the codebase better. For example, modules such as jQuery or lodash need to be explicitly imported in each file instead of being assumed to exist globally. Immutable variables will be declared as const instead of var, etc.
Not urgent as the current code works perfectly. Just a thought for future refactoring.
ES6 has been out for a while and most code linting tools such as ESLint are using ES6 standards by default. Adopting its practices might help to reduce errors and organize the codebase better. For example, modules such as jQuery or lodash need to be explicitly imported in each file instead of being assumed to exist globally. Immutable variables will be declared as
const
instead ofvar
, etc.Not urgent as the current code works perfectly. Just a thought for future refactoring.