set no-eval
This commit is contained in:
@@ -38,7 +38,13 @@
|
||||
],
|
||||
"globals": {
|
||||
"GM": true
|
||||
},
|
||||
"no-eval": [
|
||||
"error",
|
||||
{
|
||||
"allowIndirect": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
||||
@@ -9,7 +9,7 @@ import { trySyncAllSubRules } from "./libs/rules";
|
||||
import { isGm } from "./libs/browser";
|
||||
import { MSG_TRANS_TOGGLE, MSG_TRANS_PUTRULE } from "./config";
|
||||
import { isIframe } from "./libs/iframe";
|
||||
import { genEventName, handlePing, injectScript } from "./libs/gm";
|
||||
import { handlePing, injectScript } from "./libs/gm";
|
||||
|
||||
/**
|
||||
* 入口函数
|
||||
|
||||
Reference in New Issue
Block a user