{
    "extends": "girder",
    "overrides": [
        {
            "files": [
                "clients/web/test/**",
                "plugins/*/plugin_tests/**"
            ],
            "globals": {
                "Backbone": true,
                "_": true,
                "girderTest": true,
                "girder": true,
                "moment": true
            },
            "env": {
                "jasmine": true
            }
        }
    ],
    "root": true
}

{
    "extends": "girder",
    "rules": {
        "for-direction": "error",
        "getter-return": "error",
        "no-alert": "error",
        "switch-colon-spacing": "error",
        "import/exports-last": "error",
        "promise/no-native": "error",
        "promise/no-return-in-finally": "error",
        "promise/no-return-wrap": "error"
    },
    "overrides": [
        {
            "files": [
                "clients/web/test/**",
                "plugins/*/plugin_tests/**"
            ],
            "globals": {
                "Backbone": true,
                "_": true,
                "girderTest": true,
                "girder": true,
                "moment": true
            },
            "env": {
                "jasmine": true
            }
        }
    ],
    "root": true
}

Enable new ESLint rules to detect common defects
Enable new ESLint rules to detect common defects

These do not actually cause any new test failures, and should be
uncontroversial.
