Enable require-await
eslint rule
#1058
Labels
App:Backend
App:Frontend
Kind:Enhancement
Improvements, new features, performance upgrades, etc.
Level:Starter
Problem
Per #1052 (comment)
There are apparently several places where
async
is used to describe a function with no correspondingawait
.This can create confusion as to what the return value is supposed to be (e.g. a promise or a raw value) and could lead to bugs.
Solution
Add
require-await
and fix all existing errors, making sure to double-check the return values are properly handled whenasync
is removed.The text was updated successfully, but these errors were encountered: