author | Michael Ratcliffe <mratcliffe@mozilla.com> |
Mon, 26 Oct 2015 14:47:54 +0000 | |
changeset 269732 | 21b2dfbe1f24080c03ae8b698ea66e77f9acd236 |
parent 269731 | da7f20651f168a5a6c43a1930d2db827e3379f9e |
child 269733 | cfc8390e4ca81225c6dac02728d87ed95750f9bc |
push id | 29589 |
push user | kwierso@gmail.com |
push date | Tue, 27 Oct 2015 19:35:22 +0000 |
treeherder | mozilla-central@4e164269cf88 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | pbrosset |
bugs | 1205814 |
milestone | 44.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
|
--- 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 |