{
    "env": {
        "commonjs": true,
        "es6": true,
        "node": true
    },
    "extends": "eslint:recommended",
    "globals": {
        "Atomics": "readonly",
        "SharedArrayBuffer": "readonly"
    },
    "parserOptions": {
        "ecmaVersion": 11
    },
    "rules": {
        "no-var": "error",
        "no-redeclare": "off",
        "no-unreachable": "error",
        "no-unexpected-multiline": "error",

        // Styling
        "camelcase": "warn",
        "capitalized-comments": ["warn", "always", { "ignoreConsecutiveComments": true }],
        "comma-spacing": ["warn", { "before": false, "after": true }],
        "func-call-spacing": ["error", "never"],
        "no-tabs": "error",
        "no-trailing-spaces": "error",
        "no-extra-semi": "error",
        "semi": ["error", "always"],
        "semi-spacing": "error",
        "semi-style": ["error", "last"],
        "quotes": ["error", "double", { "avoidEscape": true }],
        "spaced-comment": "warn"
    }
}