Remove ESLint inline comments in WebdriverIO configuration files
authorŽeljko Filipin <zeljko.filipin@gmail.com>
Thu, 21 Dec 2017 16:28:58 +0000 (17:28 +0100)
committerZfilipin <zfilipin@wikimedia.org>
Thu, 21 Dec 2017 16:38:42 +0000 (16:38 +0000)
Comments are not needed. ESLint has configuration file(s).

Bug: T175179
Change-Id: Ieafd7b5666faaccb73b8ef7daa7aef3ed4114662

tests/selenium/wdio.conf.jenkins.js
tests/selenium/wdio.conf.js

index 59e1878..26881eb 100644 (file)
@@ -1,5 +1,3 @@
-/* eslint no-undef: "error" */
-/* eslint-env node */
 'use strict';
 const merge = require( 'deepmerge' ),
        password = 'testpass',
index cf9da0c..5eba0e0 100644 (file)
@@ -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) {