Simplified ui-e2e linting rules (#140)
* Simplified ui-e2e linting rules * More simplification
This commit is contained in:
parent
1da1acbfbe
commit
cf3aa56929
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user