Add require-await lint rule (#4401)

This commit is contained in:
Samrith Shankar 2020-03-20 14:38:34 +01:00 committed by GitHub
parent 35f6e2e45d
commit 798904b0f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
67 changed files with 197 additions and 197 deletions

View file

@ -5,7 +5,7 @@ import Dirent from "./_fs_dirent.ts";
test({
name: "Closing current directory with callback is successful",
async fn() {
fn() {
let calledBack = false;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
new Dir(".").close((valOrErr: any) => {
@ -25,7 +25,7 @@ test({
test({
name: "Closing current directory synchronously works",
async fn() {
fn() {
new Dir(".").closeSync();
}
});