Initial commit: userscripts collection with oxlint tooling
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2024": true,
|
||||
"greasemonkey": true
|
||||
},
|
||||
"globals": {
|
||||
"GM": "readonly",
|
||||
"GM_getValue": "readonly",
|
||||
"GM_setValue": "readonly",
|
||||
"GM_deleteValue": "readonly",
|
||||
"GM_addStyle": "readonly",
|
||||
"GM_openInTab": "readonly",
|
||||
"GM_xmlhttpRequest": "readonly",
|
||||
"GM_registerMenuCommand": "readonly",
|
||||
"GM_unregisterMenuCommand": "readonly",
|
||||
"unsafeWindow": "readonly"
|
||||
},
|
||||
"rules": {
|
||||
"no-unused-vars": ["warn", { "caughtErrors": "none", "args": "none" }],
|
||||
"no-debugger": "warn"
|
||||
},
|
||||
"ignorePatterns": ["_scratch/**"]
|
||||
}
|
||||
Reference in New Issue
Block a user