JavaScript
- no-var
- prefer-const
- guard-for-in: Simply use
Object.keysinstead. Andfor...offor iterating over the values of an object.
- Some of these are likely already included with eslint's recommended rule-set. Check. (A) No, they aren't. See here
- How to list all used eslint rules
- Explain the problem with
var(variable can be accessed and changed outside of block, show what issues it can cause)