From 74bef2d5615db7a5d2ee8f95515bd4fc40249915 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 22 Sep 2024 17:54:54 +0800 Subject: chore(lint): suppress return value of promise --- eslint.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'eslint.config.js') diff --git a/eslint.config.js b/eslint.config.js index 228a920..8887ce7 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -32,9 +32,8 @@ export default [ // 'curly': ['warn', 'multi'], 'prefer-const': 'error', 'no-var': 'error', - 'promise/catch-or-return': 'error', 'array-callback-return': 'error', - 'no-unexpected-multiline': 'warn' + 'no-unexpected-multiline': 'warn', }, } ]; -- cgit v1.2.3-70-g09d2