mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-20 18:12:51 +00:00
12613a6ad0
They generate a lot of false positives in this extension. Since this is client-side code, the worst that could happen is a browser tab hanging, not any real security issues. Change-Id: I177cfa7e57a6b7b528d558d2cba076e85fd0271f
32 lines
637 B
JSON
32 lines
637 B
JSON
{
|
|
"globals": {
|
|
"ve": "readonly",
|
|
"VisualEditorSupportCheck": "readonly",
|
|
"unicodeJS": "readonly",
|
|
"RangeFix": "readonly",
|
|
"Papa": "readonly"
|
|
},
|
|
"rules": {
|
|
"no-jquery/no-append-html": "error",
|
|
"no-jquery/no-deferred": "error",
|
|
"no-jquery/no-extend": "error",
|
|
"no-jquery/no-html": [
|
|
"error",
|
|
{
|
|
"allowGetOrSet": "get"
|
|
}
|
|
],
|
|
"no-jquery/no-when": "error",
|
|
"no-jquery/no-visibility": "error",
|
|
"security/detect-unsafe-regex": "off",
|
|
"security/detect-non-literal-regexp": "off",
|
|
"max-len": "off",
|
|
"mediawiki/valid-package-file-require": "warn"
|
|
},
|
|
"settings": {
|
|
"polyfills": [
|
|
"URL"
|
|
]
|
|
}
|
|
}
|