Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
fix(lint): Disable import/no-common for percy
Browse files Browse the repository at this point in the history
  • Loading branch information
Shipow committed Jun 17, 2020
1 parent 30c9557 commit 8af940d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions cypress/plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
let percyHealthCheck = require("@percy/cypress/task");
/* eslint-disable import/no-commonjs */
const percyHealthCheck = require('@percy/cypress/task');

module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
on("task", percyHealthCheck);
};
module.exports = (on) => {
on('task', percyHealthCheck);
};

0 comments on commit 8af940d

Please sign in to comment.