.eslintrc.json

Summary

Maintainability
Test Coverage
{
    "env": {
        "node": true,
        "mocha": true,
        "es2021": true
    },
    "extends": "eslint:recommended",
    "rules": {
        "indent": ["error", 4],
        "max-lines-per-function": ["warn", { "max": 25, "skipBlankLines": true, "skipComments": true }],
        "linebreak-style": ["error", "unix"],
        "semi": ["error", "always"],
        "no-cond-assign": ["error", "always"],
        "require-atomic-updates": ["warn"],

        "dot-location": ["error", "property"],
        "eqeqeq": "error",
        "no-extra-bind": "error",
        "no-useless-call": "error",
        "no-multi-spaces": "error",
        "no-useless-return": "warn",

        "camelcase": "error",
        "comma-dangle": "error",
        "comma-spacing": "error",
        "comma-style": "error",
        "computed-property-spacing": "error",
        "eol-last": "error",
        "key-spacing": "error",
        "keyword-spacing": "error",
        "no-lonely-if": "warn",
        "no-trailing-spaces": "error",
        "object-curly-spacing": ["error", "always"],
        "operator-assignment": "warn",
        "padded-blocks": ["error", { "blocks": "never" }],
        "quotes": ["error", "single"],
        "semi": "error",
        "semi-style": "error",
        "space-before-function-paren": ["error", "never"],
        "spaced-comment": ["error", "always"],

        "capitalized-comments": "off",
        "lines-between-class-members": "off",

        "arrow-body-style": "warn",
        "arrow-spacing": "error",
        "arrow-parens": "error"
    }
}