Skip to content

Commit

Permalink
eslint-disable-line
Browse files Browse the repository at this point in the history
  • Loading branch information
fishjar committed Aug 28, 2023
1 parent 64cd55f commit 74b9ee3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,7 @@
],
"globals": {
"GM": true
},
"no-eval": [
"error",
{
"allowIndirect": true
}
]
}
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion src/userscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 74b9ee3

Please sign in to comment.