From 9cda6fa7a22f47699e65f95eab4a4a486e57fbed Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=BDeljko=20Filipin?= Date: Thu, 21 Dec 2017 17:28:58 +0100 Subject: [PATCH] Remove ESLint inline comments in WebdriverIO configuration files Comments are not needed. ESLint has configuration file(s). Bug: T175179 Change-Id: Ieafd7b5666faaccb73b8ef7daa7aef3ed4114662 --- tests/selenium/wdio.conf.jenkins.js | 2 -- tests/selenium/wdio.conf.js | 7 ++----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/selenium/wdio.conf.jenkins.js b/tests/selenium/wdio.conf.jenkins.js index 59e1878a55..26881ebbbf 100644 --- a/tests/selenium/wdio.conf.jenkins.js +++ b/tests/selenium/wdio.conf.jenkins.js @@ -1,5 +1,3 @@ -/* eslint no-undef: "error" */ -/* eslint-env node */ 'use strict'; const merge = require( 'deepmerge' ), password = 'testpass', diff --git a/tests/selenium/wdio.conf.js b/tests/selenium/wdio.conf.js index cf9da0c1ce..5eba0e0b9c 100644 --- a/tests/selenium/wdio.conf.js +++ b/tests/selenium/wdio.conf.js @@ -1,6 +1,3 @@ -/* eslint-env node */ -/* eslint no-undef: "error" */ -/* eslint-disable no-console, comma-dangle */ 'use strict'; const password = 'vagrant', @@ -51,7 +48,7 @@ exports.config = { relPath( './tests/selenium/specs/**/*.js' ), relPath( './extensions/*/tests/selenium/specs/**/*.js' ), relPath( './extensions/VisualEditor/modules/ve-mw/tests/selenium/specs/**/*.js' ), - relPath( './skins/*/tests/selenium/specs/**/*.js' ), + relPath( './skins/*/tests/selenium/specs/**/*.js' ) ], // Patterns to exclude. exclude: [ @@ -233,7 +230,7 @@ exports.config = { // save screenshot browser.saveScreenshot( filePath ); console.log( '\n\tScreenshot location:', filePath, '\n' ); - }, + } // // Hook that gets executed after the suite has ended // afterSuite: function (suite) { -- 2.20.1