{
    "root": true,
    "extends": "forgerock",
    "parser": "babel-eslint",
    "env": {
        "amd": true,
        "browser": true,
        "qunit": true
    },
    "ecmaFeatures": {
        "arrowFunctions": true
    },
    "rules": {
        "indent": [2, 4, {
            "SwitchCase": 1,
            "VariableDeclarator": 1
        }],
        "no-alert": 2,
        "no-catch-shadow": 2,
        "no-duplicate-case": 2,
        "no-empty-character-class": 2,
        "no-extend-native": 2,
        "no-invalid-regexp": 2,
        "no-irregular-whitespace": 2,
        "no-labels": 2,
        "no-mixed-spaces-and-tabs": 2,
        "no-multiple-empty-lines": 2,
        "no-multi-str": 2,
        "no-native-reassign": 2,
        "no-void": 2,

        /**
         * ES6 rules
         */
        "arrow-parens": [2, "always"],
        "arrow-spacing": 2
    }
}
