Some further ESLint cleanup, remove some unnecessary scripts and lines (#2984)

This commit is contained in:
Devin Binnie
2024-03-18 14:46:12 -04:00
committed by GitHub
parent f762718330
commit 6d02c5a528
21 changed files with 60 additions and 166 deletions

View File

@@ -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
}
}

View File

@@ -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) {