We lint already. ESLint can only help with syntax.
A strict type system might've caught this.