{
    "parser": "babel-eslint",

    "env": {
        "browser": true,
        "node": true
    },

    "rules": {
        "strict": 0,
        "quotes": [1, "single", "avoid-escape"],
        "indent": [2, 4],
        "comma-style": [2, "last"],
        "no-var": 2,
        "camelcase": [2, {"properties": "never"}],
        "no-underscore-dangle": 0,
        "new-cap": [2, {
            "capIsNewExceptions": ["Record", "Map", "List"]
        }],
        "dot-location": [2, "property"],
        "no-floating-decimal": 2,
        "no-self-compare": 2,
        "no-throw-literal": 2,
        "wrap-iife": [2, "any"],
        "brace-style": [2, "1tbs", { "allowSingleLine": true }],
        "no-unused-expressions": 2,
        "eol-last": 2,
        "dot-notation": 2,
        "consistent-return": 2,
        "no-shadow": 2,
        "no-undefined": 2,
        "no-multi-spaces": 2,
        "linebreak-style": 2,

        "react/display-name": 0, // babel covers this
        "react/jsx-boolean-value": 1,
        "react/jsx-no-undef": 1,
        "react/jsx-quotes": 1,
        "react/jsx-sort-prop-types": 0,
        "react/jsx-sort-props": 0,
        "react/jsx-uses-react": 1,
        "react/jsx-uses-vars": 1,
        "react/no-did-mount-set-state": 1,
        "react/no-did-update-set-state": 1,
        "react/no-multi-comp": 0,
        "react/no-unknown-property": 1,
        "react/prop-types": 1,
        "react/react-in-jsx-scope": 1,
        "react/self-closing-comp": 1,
        "react/sort-comp": 0,
        "react/wrap-multilines": 1
    },

    "ecmaFeatures": {
        "jsx": true
    },
    "plugins": [
        "react"
    ],

    "globals": {
        "PouchDB": true
    }
}
