Comment Comment by Zirro You're looking for: http://eslint.org/docs/rules/prefer-constIt does exactly what you describe :) parent Zirro 10 years ago
It does exactly what you describe :)