{ "plugins": ["jest", "@typescript-eslint"], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 9, "sourceType": "module", "project": "./tsconfig.lint.json" }, "globals": { "fetch": true }, "env": { "node": true, "es6": true, "jest/globals": true }, "rules": { "@typescript-eslint/ban-types": [ "error", { "types": { "Number": { "message": "Use number instead", "fixWith": "number" }, "String": { "message": "Use string instead", "fixWith": "string" }, "Boolean": { "message": "Use boolean instead", "fixWith": "boolean" }, "Object": { "message": "Use object instead", "fixWith": "object" }, "{}": { "message": "Use object instead", "fixWith": "object" }, "Symbol": { "message": "Use symbol instead", "fixWith": "symbol" } } } ], "@typescript-eslint/array-type": ["error", {"default": "array"}], "@typescript-eslint/explicit-module-boundary-types": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/explicit-function-return-type": "error", "object-shorthand": ["error", "always"], "prefer-destructuring": [ "error", { "array": false, "object": true }, { "enforceForRenamedProperties": false } ], "no-console": ["error", {"allow": ["warn", "error"]}], "no-alert": "error", "no-debugger": "error" } }