Skip to content

Commit

Permalink
Disable individual lint warnings instead of a global disable (#2528)
Browse files Browse the repository at this point in the history
  • Loading branch information
russellsanborn committed Aug 19, 2020
1 parent 553cca1 commit e29166f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/content/connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ function BaseConnector() {
*
* @param {Object} event Event object
*/
this.onScriptEvent = (event) => { // eslint-disable-line
this.onScriptEvent = (event) => { // eslint-disable-line no-unused-vars
// Do nothing
};

Expand Down Expand Up @@ -834,5 +834,5 @@ function BaseConnector() {
this.stateChangedWorkerThrottled = Util.throttle(this.stateChangedWorker, 500);
}

// eslint-disable-next-line
// eslint-disable-next-line no-unused-vars
const Connector = window.Connector || new BaseConnector();

0 comments on commit e29166f

Please sign in to comment.