You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
17
+
18
+
! typescript-eslint(no-floating-promises): Promises must be awaited.
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
35
+
36
+
! typescript-eslint(no-floating-promises): Promises must be awaited.
help: Consider handling the promises' fulfillment or rejection with Promise.all or similar, or explicitly marking the expression as ignored with the `void` operator.
52
+
53
+
! typescript-eslint(no-floating-promises): Promises must be awaited.
54
+
,-[no-floating-promises/src/index.ts:2:1]
55
+
1 | const promise = new Promise((resolve, _reject) => resolve("value"));
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
70
+
71
+
! typescript-eslint(no-floating-promises): Promises must be awaited.
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
88
+
89
+
! typescript-eslint(no-floating-promises): An array of Promises may be unintentional.
90
+
,-[no-floating-promises/src/index.ts:14:1]
91
+
13 |
92
+
14 | [1, 2, 3].map(async (x) => x + 1);
93
+
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
94
+
`----
95
+
help: Considerhandlingthepromises' fulfillment or rejection with Promise.all or similar, or explicitly marking the expression as ignored with the `void` operator.
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
104
+
105
+
Found 11 warnings and 0 errors.
106
+
Finished in <variable>ms on 3 files with 1 rules using 1 threads.
Errorrunningtsgolint: "Failed to spawn tsgolint from path `tsgolint`, with error: No such file or directory (os error 2)"----------
9
-
CLIresult: TsGoLintError
8
+
9
+
xtypescript-eslint(no-confusing-void-expression): Returningavoidexpressionfromanarrowfunction shorthand is forbidden. Please add braces to the arrow function.
10
+
,-[no-floating-promises/index.ts:1:51]
11
+
1 | const promise = new Promise((resolve, _reject) => resolve("value"));
12
+
: ^^^^^^^^^^^^^^^^
13
+
2|promise;
14
+
`----
15
+
16
+
x typescript-eslint(no-floating-promises): Promises must be awaited.
17
+
,-[no-floating-promises/index.ts:2:1]
18
+
1 | const promise = new Promise((resolve, _reject) => resolve("value"));
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
42
+
43
+
x typescript-eslint(prefer-promise-reject-errors): Expected the Promise rejection reason to be an Error.
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
59
+
60
+
x typescript-eslint(prefer-promise-reject-errors): Expected the Promise rejection reason to be an Error.
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
76
+
77
+
x typescript-eslint(no-floating-promises): An array of Promises may be unintentional.
78
+
,-[no-floating-promises/index.ts:14:1]
79
+
13 |
80
+
14 | [1, 2, 3].map(async (x) => x + 1);
81
+
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
82
+
`----
83
+
help: Considerhandlingthepromises' fulfillment or rejection with Promise.all or similar, or explicitly marking the expression as ignored with the `void` operator.
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
109
+
110
+
! typescript-eslint(no-floating-promises): Promises must be awaited.
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
127
+
128
+
! typescript-eslint(no-floating-promises): An array of Promises may be unintentional.
129
+
,-[no-floating-promises/src/index.ts:14:1]
130
+
13 |
131
+
14 | [1, 2, 3].map(async (x) => x + 1);
132
+
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
133
+
`----
134
+
help: Considerhandlingthepromises' fulfillment or rejection with Promise.all or similar, or explicitly marking the expression as ignored with the `void` operator.
help: The promise must end with a call to .catch, or end with a call to .then with a rejection handler, or be explicitly marked as ignored with the `void` operator.
143
+
144
+
Found 5 warnings and 11 errors.
145
+
Finished in <variable>ms on 3 files using 1 threads.
0 commit comments