eslint-disable-line
This commit is contained in:
@@ -38,13 +38,7 @@
|
||||
],
|
||||
"globals": {
|
||||
"GM": true
|
||||
},
|
||||
"no-eval": [
|
||||
"error",
|
||||
{
|
||||
"allowIndirect": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
||||
@@ -25,7 +25,7 @@ const init = async () => {
|
||||
// unsafeWindow.APP_NAME = process.env.REACT_APP_NAME;
|
||||
const ping = btoa(Math.random()).slice(3, 11);
|
||||
window.addEventListener(ping, handlePing);
|
||||
window.eval(`(${injectScript})("${ping}")`);
|
||||
window.eval(`(${injectScript})("${ping}")`); // eslint-disable-line
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user