.eslintrc.json (1199B)
1 { 2 "env": { 3 "node": true, 4 "es6": true, 5 "jest/globals": true 6 }, 7 "extends": [ 8 "plugin:github/recommended", 9 "plugin:@typescript-eslint/recommended", 10 "plugin:@typescript-eslint/recommended-requiring-type-checking" 11 ], 12 "parser": "@typescript-eslint/parser", 13 "parserOptions": { 14 "ecmaVersion": 9, 15 "sourceType": "module", 16 "project": "./tsconfig.json" 17 }, 18 "plugins": ["jest", "@typescript-eslint"], 19 "rules": { 20 // These rules would be nice to enable / make more strict eventually 21 "@typescript-eslint/no-floating-promises": "off", 22 "@typescript-eslint/no-unsafe-argument": "off", 23 "@typescript-eslint/no-unsafe-assignment": "off", 24 "@typescript-eslint/no-unsafe-call": "off", 25 "@typescript-eslint/no-unsafe-member-access": "off", 26 "@typescript-eslint/no-unsafe-return": "off", 27 "@typescript-eslint/restrict-template-expressions": [ 28 "error", 29 {"allowAny": true} ], 30 31 // These rules do not match our code style 32 "camelcase": "off", 33 "i18n-text/no-en": "off", 34 "import/no-namespace": "off", 35 "import/no-unresolved": "off", 36 "import/extensions": "off", 37 "@typescript-eslint/ban-ts-comment": "off" 38 } 39 }