const path = require('path'); const resolve = (url) => path.resolve(__dirname, url); module.exports = { "extends": [ 'airbnb-base', 'airbnb-typescript/base' ], "env": { "browser": true, "es2021": true }, "rules": { "no-await-in-loop":"off", "no-return-assign": "off", "operator-assignment": "off", "no-fallthrough": "off", "function-call-argument-newline":"off", "no-else-return" : "off", "no-empty":"off", "no-cond-assign": "off", "prefer-regex-literals": "off", "@typescript-eslint/no-empty-function": "off", "no-restricted-globals": "off", "prefer-object-spread": "off", "guard-for-in":"off", "no-multi-assign": "off", "no-lonely-if": "off", "@typescript-eslint/lines-between-class-members": "off", "prefer-exponentiation-operator":"off", "no-restricted-properties": "off", "function-paren-newline": "off", "no-labels": "off", "@typescript-eslint/no-shadow": "off", "no-nested-ternary": "off", "no-debugger": "off", "no-mixed-operators": "off", "prefer-destructuring": "off", "no-console": "off", "import/export": "off", "@typescript-eslint/quotes": "off", "prefer-const": "off", 'linebreak-style': ["off", "windows"], "prefer-rest-params": "off", "max-classes-per-file": "off", "max-len": "off", "new-parens": "off", "no-continue": "off", "no-plusplus": "off", "import/prefer-default-export": "off", "@typescript-eslint/naming-convention": "off", "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-use-before-define": "off", "import/no-cycle": "off", "no-bitwise": 'off', "default-case": "off", "no-param-reassign": "off", "class-methods-use-this": "off", "consistent-return": "off", "no-underscore-dangle": "off", "no-restricted-syntax": "off", }, "parserOptions": { "warnOnUnsupportedTypeScriptVersion": false, "ecmaVersion": 12, "sourceType": "module", "project": resolve("tsconfig.json") } }