summaryrefslogtreecommitdiff
path: root/tests/specs/lint/node_globals_no_duplicate_imports/lint.out
blob: d9ff7f77e202f7c84afea7b474123736c91c77c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error[no-node-globals]: NodeJS globals are not available in Deno
 --> [WILDCARD]main.ts:3:14
  | 
3 | const _foo = setImmediate;
  |              ^^^^^^^^^^^^
  = hint: Add `import { setImmediate } from "node:timers";`

  docs: https://lint.deno.land/rules/no-node-globals


error[no-node-globals]: NodeJS globals are not available in Deno
 --> [WILDCARD]main.ts:7:14
  | 
7 | const _bar = setImmediate;
  |              ^^^^^^^^^^^^
  = hint: Add `import { setImmediate } from "node:timers";`

  docs: https://lint.deno.land/rules/no-node-globals


Found 2 problems (2 fixable via --fix)
Checked 1 file