{
    "plugins": [
        "mocha"
    ],
    "env": {
        "mocha": true,
        "node": true,
        "es6": true
    },
    "globals": {
        "expect": true
    },
    "rules": {
        // Mocha
        "mocha/handle-done-callback": "error",
        "mocha/max-top-level-suites": "error",
        "mocha/no-exclusive-tests": "error",
        "mocha/no-global-tests": "error",
        "mocha/no-hooks-for-single-case": "off",
        "mocha/no-hooks": "off",
        "mocha/no-identical-title": "error",
        "mocha/no-mocha-arrows": "error",
        "mocha/no-nested-tests": "error",
        "mocha/no-pending-tests": "error",
        "mocha/no-return-and-callback": "error",
        "mocha/no-sibling-hooks": "error",
        "mocha/no-skipped-tests": "warn",
        "mocha/no-synchronous-tests": "off",
        "mocha/no-top-level-hooks": "off",
        "mocha/valid-test-description": "off",
        "mocha/valid-suite-description": "off"
    }
}
