Bug 1338075 - formautofill: Enable no-cpows-in-tests and var-only-at-top-level. r=lchang

MozReview-Commit-ID: 4oYbRAMxZvH

--HG--
extra : rebase_source : cb35be0e94e6e1fe8271b414ad6bb508890d1b0b
This commit is contained in:
Matthew Noorenberghe 2017-02-10 15:14:55 +08:00
parent 86efce1f15
commit 18b3265289
3 changed files with 2 additions and 6 deletions

View File

@ -17,8 +17,8 @@ module.exports = { // eslint-disable-line no-undef
// Rules from the mozilla plugin
"mozilla/balanced-listeners": "error",
"mozilla/no-aArgs": "warn",
"mozilla/no-cpows-in-tests": "warn",
"mozilla/var-only-at-top-level": "warn",
"mozilla/no-cpows-in-tests": "error",
"mozilla/var-only-at-top-level": "error",
"valid-jsdoc": ["error", {
"prefer": {

View File

@ -2,8 +2,6 @@
* Test for populating field values in Form Autofill Parent.
*/
/* global FormAutofillParent */
"use strict";
Cu.import("resource://formautofill/FormAutofillParent.jsm");

View File

@ -2,8 +2,6 @@
* Tests ProfileStorage object.
*/
/* global ProfileStorage */
"use strict";
Cu.import("resource://gre/modules/Task.jsm");