.eslintrc.js 880 Bytes
module.exports = {
    "env": {
        "es6": true,
        "node": true
    },
    "extends": "eslint:recommended",
    "parserOptions": {
        "ecmaVersion": 2019,
        "sourceType": "module"
    },
    "rules": {
        // "indent": [
        //     "warn",
        //     4
        // ],
        "linebreak-style": "off",
        "quotes": "off",
        "semi": [
            "off",
            "always"
        ],
        "no-console": [
            "error", { allow: ["info", "warn", "error"]}
        ],
        "no-unused-vars": [
            "warn",
            { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }
        ],
        "no-constant-condition": [
            "warn"
        ],
        "no-control-regex": "off",
        "no-redeclare": "off",
        "require-atomic-updates": "off",
        "no-prototype-builtins": 'off'
    }
};