From 355ec3061f12348c3d4ebaaab20c3c692a80908d Mon Sep 17 00:00:00 2001 From: Katie Gengler Date: Thu, 6 Dec 2018 16:12:14 -0500 Subject: [PATCH] Disable 'node/no-unsupported-features' rule for some testem related files. Avoids backporting #17254 for now and is OK because CI only runs on >= Node 6 --- lib/failure-only-testem-reporter.js | 2 ++ testem.dist.js | 2 ++ testem.travis-browsers.js | 2 ++ 3 files changed, 6 insertions(+) diff --git a/lib/failure-only-testem-reporter.js b/lib/failure-only-testem-reporter.js index f89b9198cab..b4ac26ed4d8 100644 --- a/lib/failure-only-testem-reporter.js +++ b/lib/failure-only-testem-reporter.js @@ -1,3 +1,5 @@ +/* eslint-disable node/no-unsupported-features */ + const TapReporter = require('testem/lib/reporters/tap_reporter'); class FailureOnlyReporter extends TapReporter { diff --git a/testem.dist.js b/testem.dist.js index 3c58bc8ada2..a58514e2e68 100644 --- a/testem.dist.js +++ b/testem.dist.js @@ -1,3 +1,5 @@ +/* eslint-disable node/no-unsupported-features */ + const FailureOnlyReporter = require('./lib/failure-only-testem-reporter'); class FailureOnlyPerBrowserReporter extends FailureOnlyReporter { diff --git a/testem.travis-browsers.js b/testem.travis-browsers.js index 3a7b020c108..97040ce6b6d 100644 --- a/testem.travis-browsers.js +++ b/testem.travis-browsers.js @@ -1,3 +1,5 @@ +/* eslint-disable node/no-unsupported-features */ + const FailureOnlyReporter = require('./lib/failure-only-testem-reporter'); module.exports = {