DEV: enforces no-var (PR #10902)

GitHub

Closing for now, we need to update uglify first