summaryrefslogtreecommitdiff
path: root/std/node/process.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/process.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/process.ts')
-rw-r--r--std/node/process.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/std/node/process.ts b/std/node/process.ts
index 62bef922c..0a93a0928 100644
--- a/std/node/process.ts
+++ b/std/node/process.ts
@@ -49,12 +49,12 @@ export const process = {
// TODO(JayHelton): to be implemented
notImplemented();
},
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // deno-lint-ignore ban-types
write(_chunk: string | Uint8Array, _callback: Function): void {
// TODO(JayHelton): to be implemented
notImplemented();
},
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // deno-lint-ignore ban-types
on(_event: string, _callback: Function): void {
// TODO(JayHelton): to be implemented
notImplemented();
@@ -71,7 +71,7 @@ export const process = {
// TODO(JayHelton): to be implemented
notImplemented();
},
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // deno-lint-ignore ban-types
on(_event: string, _callback: Function): void {
// TODO(JayHelton): to be implemented
notImplemented();
@@ -88,12 +88,12 @@ export const process = {
// TODO(JayHelton): to be implemented
notImplemented();
},
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // deno-lint-ignore ban-types
write(_chunk: string | Uint8Array, _callback: Function): void {
// TODO(JayHelton): to be implemented
notImplemented();
},
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // deno-lint-ignore ban-types
on(_event: string, _callback: Function): void {
// TODO(JayHelton): to be implemented
notImplemented();
@@ -104,7 +104,7 @@ export const process = {
/** https://nodejs.org/api/process.html#process_process_events */
// on is not exported by node, it is only available within process:
// node --input-type=module -e "import { on } from 'process'; console.log(on)"
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // deno-lint-ignore ban-types
on(_event: string, _callback: Function): void {
// TODO(rsp): to be implemented
notImplemented();