1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
9 "no-undef-init": "error",
10 // This is usually only applied to jsm or jsm.js files.
11 // But marionette modules are JS files without a jsm extension and use
12 // the EXPORT_SYMBOLS syntax.
13 "mozilla/mark-exported-symbols-as-used": "error",
17 // The mozilla recommended configuration is not strict enough against
18 // regular javascript files, compared to JSM. Enforce no-unused-vars on
19 // "all" variables, not only "local" ones.
21 // test head files and html files typically define global variables
22 // intended to be used by other files and should not be affected by
24 excludedFiles: ["**/test/**/head.js", "**/test/**/*.html"],