From 073743927d166c0ed31a72ddc043ed71ebcf9326 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 18 Aug 2021 18:52:06 +0200 Subject: [PATCH] only enable promise related rules ... I think? --- .ts-eslintrc.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.ts-eslintrc.js b/.ts-eslintrc.js index 43392aef..1974e07b 100644 --- a/.ts-eslintrc.js +++ b/.ts-eslintrc.js @@ -5,8 +5,8 @@ module.exports = { "es6": true }, extends: [ - "plugin:@typescript-eslint/recommended", - "plugin:@typescript-eslint/recommended-requiring-type-checking", + // "plugin:@typescript-eslint/recommended", + // "plugin:@typescript-eslint/recommended-requiring-type-checking", ], parser: '@typescript-eslint/parser', parserOptions: { @@ -17,5 +17,8 @@ module.exports = { plugins: [ '@typescript-eslint', ], - rules: {} + rules: { + "@typescript-eslint/no-floating-promises": 2, + "@typescript-eslint/no-misused-promises": 2 + } };