Mozilla Source Tree Docs
latest
SSL Error Reporting
Firefox
Telemetry Experiments
Build System
WebIDL
Graphics
Firefox for Android
Indices and tables
Localization
mach
CloudSync
TaskCluster Task-Graph Generation
Crash Manager
Telemetry
Crash Reporter
Supbrocess Module
Toolkit modules
Add-on Manager
Linting
Indices and tables
Mozilla ESLint Plugin
balanced-listeners
import-headjs-globals
mark-test-function-used
no-aArgs
no-cpows-in-tests
reject-importGlobalProperties
reject-some-requires
var-only-at-top-level
Rule Details
mach package
mozbuild package
mozlint package
mozpack package
mozversioncontrol package
mozwebidlcodegen package
Mozilla Source Tree Docs
Docs
»
Mozilla ESLint Plugin
»
var-only-at-top-level
Edit on GitHub
var-only-at-top-level
¶
Rule Details
¶
Marks all var declarations that are not at the top level invalid.
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.