| 1 | { |
| 2 | "globals": { |
| 3 | "ve": "readonly", |
| 4 | "VisualEditorSupportCheck": "readonly", |
| 5 | "unicodeJS": "readonly", |
| 6 | "RangeFix": "readonly", |
| 7 | "Papa": "readonly" |
| 8 | }, |
| 9 | "rules": { |
| 10 | "no-jquery/no-append-html": "error", |
| 11 | "no-jquery/no-deferred": "error", |
| 12 | "no-jquery/no-extend": "error", |
| 13 | "no-jquery/no-html": [ |
| 14 | "error", |
| 15 | { |
| 16 | "allowGetOrSet": "get" |
| 17 | } |
| 18 | ], |
| 19 | "no-jquery/no-when": "error", |
| 20 | "no-jquery/no-visibility": "error", |
| 21 | "security/detect-unsafe-regex": "off", |
| 22 | "security/detect-non-literal-regexp": "off", |
| 23 | "max-len": "off", |
| 24 | "mediawiki/valid-package-file-require": "warn" |
| 25 | }, |
| 26 | "settings": { |
| 27 | "polyfills": [ |
| 28 | "URL" |
| 29 | ] |
| 30 | } |
| 31 | } |