wikimedia/mediawiki-extensions-VisualEditor

View on GitHub
modules/eslint-shared.json

Summary

Maintainability
Test Coverage
{
    "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"
        ]
    }
}