var-only-at-top-level

Rule Details

Marks all var declarations that are not at the top level invalid.