Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

fix #58 - disable eslint strict rule in load-reps.js #59

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/reps/load-reps.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */

// Disable eslint strict rule because the eslint env ("es6") is incompatible with eslint
// validation in MC (https://github.com/devtools-html/devtools-reps/issues/58)
/* eslint-disable strict */

// Make this available to both AMD and CJS environments
define(function (require, exports, module) {
let REPS;
Expand Down
2 changes: 2 additions & 0 deletions src/test/mochitest/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* eslint no-unused-vars: [2, {"vars": "local"}] */

"use strict";

var { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components;

var { require } = Cu.import("resource://devtools/shared/Loader.jsm", {});
Expand Down