summaryrefslogtreecommitdiff
path: root/std/node/_fs/_fs_dir.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-11-03 16:19:29 +0100
committerGitHub <noreply@github.com>2020-11-03 16:19:29 +0100
commit8e914be7420715620cad74fbb020c5e87ac875a2 (patch)
tree2fefc0111f85533de2bd24e54f70c6c1241e3d3b /std/node/_fs/_fs_dir.ts
parente736d0f60f6cdf38e2d317ee08a7125de9e57d69 (diff)
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
Diffstat (limited to 'std/node/_fs/_fs_dir.ts')
-rw-r--r--std/node/_fs/_fs_dir.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/node/_fs/_fs_dir.ts b/std/node/_fs/_fs_dir.ts
index 1fd7d60dd..18d104981 100644
--- a/std/node/_fs/_fs_dir.ts
+++ b/std/node/_fs/_fs_dir.ts
@@ -18,7 +18,7 @@ export default class Dir {
return this.dirPath;
}
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // deno-lint-ignore no-explicit-any
read(callback?: (...args: any[]) => void): Promise<Dirent | null> {
return new Promise((resolve, reject) => {
if (!this.asyncIterator) {
@@ -57,7 +57,7 @@ export default class Dir {
* directories, and therefore does not need to close directories when
* finished reading.
*/
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // deno-lint-ignore no-explicit-any
close(callback?: (...args: any[]) => void): Promise<void> {
return new Promise((resolve, reject) => {
try {