diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-06-12 09:19:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 09:19:29 -0400 |
commit | d0970daacda0b6f6c2077c2f81948536b574bbe9 (patch) | |
tree | f116548be832ae6786449dd6f1257865efe38026 /std/fs | |
parent | ca1c2ee82207f2ead857ab4aeca48edff16827ae (diff) |
make std deno-lint clean (#6240)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'std/fs')
-rw-r--r-- | std/fs/write_json.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/std/fs/write_json.ts b/std/fs/write_json.ts index e382fa306..28eb80d44 100644 --- a/std/fs/write_json.ts +++ b/std/fs/write_json.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -/* eslint-disable @typescript-eslint/no-explicit-any */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any type Replacer = (key: string, value: any) => any; export interface WriteJsonOptions { @@ -10,6 +10,7 @@ export interface WriteJsonOptions { /* Writes an object to a JSON file. */ export async function writeJson( filePath: string, + // eslint-disable-next-line @typescript-eslint/no-explicit-any object: any, options: WriteJsonOptions = {} ): Promise<void> { @@ -32,6 +33,7 @@ export async function writeJson( /* Writes an object to a JSON file. */ export function writeJsonSync( filePath: string, + // eslint-disable-next-line @typescript-eslint/no-explicit-any object: any, options: WriteJsonOptions = {} ): void { |