Simplified ui-e2e linting rules (#140)

* Simplified ui-e2e linting rules

* More simplification
This commit is contained in:
Przemyslaw Rzad 2019-07-11 15:06:50 +02:00 committed by GitHub
parent 1da1acbfbe
commit cf3aa56929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 3 additions and 13 deletions

@ -6,7 +6,9 @@
],
"plugins": ["node"],
"rules": {
"node/no-unpublished-require": "off"
"node/no-unpublished-require": "off",
"import/no-extraneous-dependencies": "off",
"no-return-await": "off"
},
"env": {
"mocha": true

@ -1,7 +1,4 @@
/* eslint-disable no-return-await */
// eslint-disable-next-line import/no-extraneous-dependencies
const { Key } = require('selenium-webdriver')
// eslint-disable-next-line import/no-extraneous-dependencies
const { By } = require('selenium-webdriver/lib/by')
const { Page } = require('./Page.js')
const { homeRPC, foreignRPC } = require('../e2e-commons/constants.json')

@ -1,5 +1,3 @@
/* eslint-disable no-return-await */
// eslint-disable-next-line import/no-extraneous-dependencies
const webdriver = require('selenium-webdriver')
const Twait = 20000

@ -1,4 +1,3 @@
/* eslint-disable no-return-await */
const { MetaMask } = require('./MetaMask.js')
const { MainPage } = require('./mainPage.js')

@ -1,5 +1,3 @@
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable no-return-await */
const webdriver = require('selenium-webdriver')
const chrome = require('selenium-webdriver/chrome')
const {

@ -1,5 +1,3 @@
/* eslint-disable no-return-await */
// eslint-disable-next-line import/no-extraneous-dependencies
const { By } = require('selenium-webdriver/lib/by')
const { Page } = require('./Page.js')

@ -1,5 +1,3 @@
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable no-return-await */
const test = require('selenium-webdriver/testing')
const assert = require('assert')
const { Utils } = require('./Utils.js')