Chore: update ESLint config

This commit is contained in:
SukkaW
2023-09-29 02:32:28 +08:00
parent ac2f5d56a9
commit 970e4dcc85
10 changed files with 197 additions and 31 deletions

View File

@@ -33,7 +33,7 @@
if (typeof fn !== 'function') { return; }
try {
fn();
} catch (ex) {
} catch {
}
};
ga.create = function () {

View File

@@ -27,7 +27,7 @@
) {
try {
window.location.assign(a[1]);
} catch (ex) {
} catch {
}
}
if (a[0] === '_set' && a[1] === 'hitCallback' && typeof a[2] === 'function') {
@@ -66,7 +66,7 @@
if (typeof a !== 'string') { return; }
try {
window.location.assign(a);
} catch (ex) {
} catch {
}
};
return out;

View File

@@ -109,7 +109,7 @@
gpt.cmd.push = function (a) {
try {
a();
} catch (ex) {
} catch {
}
return 1;
};