{ "root": true, "extends": "@ownzones/eslint-config-connect-service", "parserOptions": { "project": "./tsconfig.json" }, "rules": { // "@typescript-eslint/no-explicit-any": 2, "@typescript-eslint/ban-ts-comment": 0, // see lib/tracing.ts line 203 "@typescript-eslint/member-ordering": [ 2, { "default": [ // Statics "public-static-field", "protected-static-field", "private-static-field", "public-static-method", "protected-static-method", "private-static-method", // Instance "public-instance-field", "protected-instance-field", "private-instance-field", "constructor", "public-instance-method", "protected-instance-method", "private-instance-method" ] } ], "@typescript-eslint/no-use-before-define": [2, "nofunc"], // func are hoisted anyway "@typescript-eslint/no-non-null-assertion": 0, "import/no-cycle": 0, "max-classes-per-file": 0, "no-param-reassign": [2, { "props": false }], // this means no warnings when mutating properties of objects passed to functions "no-restricted-syntax": 0, // this doesn't allow for...of because of performance reasons "no-void": [2, { "allowAsStatement": true }], "prefer-destructuring": 0, // forcing destructuring looks like a step back in some cases "unicorn/explicit-length-check": 0, // retarded, disallows if(collection.length) "unicorn/import-style": 0, // conflicts with "allowSyntheticDefaultImports": false(which is default) in tsconfig "unicorn/no-abusive-eslint-disable": 0, // enforces listing of rules when disabling eslint, too much hassle... "unicorn/no-array-callback-reference": 0, // triggered on any object map method, not just Array.prtotype.map, so unusable // TODO: Remove these after fixing errors "unicorn/prefer-module": 0, "unicorn/no-array-for-each": 0, "unicorn/numeric-separators-style": 0, "import/no-named-as-default-member": 0, "unicorn/prefer-node-protocol": 0, "unicorn/prefer-export-from": 0, "@typescript-eslint/no-unsafe-argument": 0, "@typescript-eslint/space-infix-ops": 0, "unicorn/no-array-method-this-argument": 0, "unicorn/no-empty-file": 0, "@typescript-eslint/object-curly-spacing": 0, "unicorn/prefer-regexp-test": 0, "unicorn/no-await-expression-member": 0, "unicorn/prefer-spread": 0, "unicorn/no-array-push-push": 0, "unicorn/no-new-array": 0, "unicorn/consistent-destructuring": 0, "@typescript-eslint/no-unsafe-call": 0, "@typescript-eslint/no-unsafe-member-access": 0, "@typescript-eslint/no-unsafe-return": 0, "@typescript-eslint/no-unsafe-assignment": 0, "unicorn/prefer-array-flat": 0 } }