Bug 1205814 - Missed a brief description in rst docs r=pbrosset
authorMichael Ratcliffe <mratcliffe@mozilla.com>
Mon, 26 Oct 2015 14:47:54 +0000
changeset 269732 21b2dfbe1f24080c03ae8b698ea66e77f9acd236
parent 269731 da7f20651f168a5a6c43a1930d2db827e3379f9e
child 269733 cfc8390e4ca81225c6dac02728d87ed95750f9bc
push id29589
push userkwierso@gmail.com
push dateTue, 27 Oct 2015 19:35:22 +0000
treeherdermozilla-central@4e164269cf88 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbrosset
bugs1205814
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1205814 - Missed a brief description in rst docs r=pbrosset
testing/eslint-plugin-mozilla/docs/index.rst
--- a/testing/eslint-plugin-mozilla/docs/index.rst
+++ b/testing/eslint-plugin-mozilla/docs/index.rst
@@ -8,16 +8,19 @@ Mozilla ESLint Plugin
 ``Cu.import("some/path/Blah.jsm")`` adds Blah to the global scope.
 
 ``import-headjs-globals`` imports globals from head.js and from any files that
 should be imported by head.js (as far as we can correctly resolve the path).
 
 ``mark-test-function-used`` simply marks test (the test method) as used. This
 avoids ESLint telling us that the function is never called.
 
+``var-only-at-top-level`` Marks all var declarations that are not at the top
+level invalid.
+
 +-------+-----------------------+
 | Possible values for all rules |
 +-------+-----------------------+
 | Value | Meaning               |
 +-------+-----------------------+
 | 0     | Deactivated           |
 +-------+-----------------------+
 | 1     | Warning               |