Some further ESLint cleanup, remove some unnecessary scripts and lines (#2984)
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"env": {
|
||||
"mocha": true
|
||||
},
|
||||
"globals": {
|
||||
"open_window": true
|
||||
},
|
||||
"rules": {
|
||||
"import/no-commonjs": 0,
|
||||
"func-names": 0,
|
||||
"global-require": 0,
|
||||
"max-nested-callbacks": 0,
|
||||
"no-eval": 0,
|
||||
"no-magic-numbers": 0,
|
||||
"no-unused-expressions": 0,
|
||||
"prefer-arrow-callback": 0
|
||||
}
|
||||
}
|
@@ -306,7 +306,6 @@ module.exports = {
|
||||
|
||||
// execute the test only when `condition` is true
|
||||
shouldTest(it, condition) {
|
||||
// eslint-disable-next-line no-only-tests/no-only-tests
|
||||
return condition ? it : it.skip;
|
||||
},
|
||||
isOneOf(platforms) {
|
||||
|
Reference in New Issue
Block a user