diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-22 17:54:54 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-22 17:58:09 +0800 |
| commit | 74bef2d5615db7a5d2ee8f95515bd4fc40249915 (patch) | |
| tree | cbce51c908cdb0700fdd883e0e083d34d450db8a | |
| parent | 0a1d70dd6017164e13386997b7b03eab47045e0a (diff) | |
chore(lint): suppress return value of promise
| -rw-r--r-- | eslint.config.js | 3 |
1 files changed, 1 insertions, 2 deletions
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 [ | |||
| 32 | // 'curly': ['warn', 'multi'], | 32 | // 'curly': ['warn', 'multi'], |
| 33 | 'prefer-const': 'error', | 33 | 'prefer-const': 'error', |
| 34 | 'no-var': 'error', | 34 | 'no-var': 'error', |
| 35 | 'promise/catch-or-return': 'error', | ||
| 36 | 'array-callback-return': 'error', | 35 | 'array-callback-return': 'error', |
| 37 | 'no-unexpected-multiline': 'warn' | 36 | 'no-unexpected-multiline': 'warn', |
| 38 | }, | 37 | }, |
| 39 | } | 38 | } |
| 40 | ]; | 39 | ]; |