1{ 2 "env": { 3 "browser": true, 4 "es2021": true 5 }, 6 "extends": [ 7 "eslint:recommended", 8 "plugin:@typescript-eslint/recommended" 9 ], 10 "parser": "@typescript-eslint/parser", 11 "parserOptions": { 12 "ecmaVersion": "latest", 13 "sourceType": "module" 14 }, 15 "plugins": [ 16 "@typescript-eslint" 17 ], 18 "rules": { 19 "indent": [ 20 "error", 21 2 22 ], 23 "quotes": [ 24 "error", 25 "single" 26 ], 27 "@typescript-eslint/no-inferrable-types": [ 28 "error", 29 { 30 "ignoreParameters": false, 31 "ignoreProperties": false 32 } 33 ], 34 "max-lines": [ 35 "warn", 2000 36 ], 37 "max-lines-per-function": [ 38 "warn", 50 39 ], 40 "complexity": [ 41 "warn", 20 42 ], 43 "max-depth": [ 44 "warn", 4 45 ], 46 "@typescript-eslint/prefer-as-const": [ 47 "error" 48 ] 49 } 50} 51