-
-
Notifications
You must be signed in to change notification settings - Fork 539
/
Copy pathprefer_optional_catch_binding.snap
67 lines (59 loc) · 2.71 KB
/
prefer_optional_catch_binding.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
source: crates/oxc_linter/src/tester.rs
assertion_line: 234
---
⚠ eslint-plugin-unicorn(prefer-optional-catch-binding): Prefer omitting the catch binding parameter if it is unused
╭─[prefer_optional_catch_binding.tsx:1:15]
1 │ try {} catch (_) {}
· ─
╰────
help: Delete this code.
⚠ eslint-plugin-unicorn(prefer-optional-catch-binding): Prefer omitting the catch binding parameter if it is unused
╭─[prefer_optional_catch_binding.tsx:1:15]
1 │ try {} catch (theRealErrorName) {}
· ────────────────
╰────
help: Delete this code.
⚠ eslint-plugin-unicorn(prefer-optional-catch-binding): Prefer omitting the catch binding parameter if it is unused
╭─[prefer_optional_catch_binding.tsx:1:25]
1 │ try { } catch (e)
· ─
2 │ { }
╰────
help: Delete this code.
⚠ eslint-plugin-unicorn(prefer-optional-catch-binding): Prefer omitting the catch binding parameter if it is unused
╭─[prefer_optional_catch_binding.tsx:1:14]
1 │ try {} catch(e) {}
· ─
╰────
help: Delete this code.
⚠ eslint-plugin-unicorn(prefer-optional-catch-binding): Prefer omitting the catch binding parameter if it is unused
╭─[prefer_optional_catch_binding.tsx:1:15]
1 │ try {} catch (e){}
· ─
╰────
help: Delete this code.
⚠ eslint-plugin-unicorn(prefer-optional-catch-binding): Prefer omitting the catch binding parameter if it is unused
╭─[prefer_optional_catch_binding.tsx:1:15]
1 │ try {} catch ({}) {}
· ──
╰────
help: Delete this code.
⚠ eslint-plugin-unicorn(prefer-optional-catch-binding): Prefer omitting the catch binding parameter if it is unused
╭─[prefer_optional_catch_binding.tsx:1:15]
1 │ try {} catch ({message}) {}
· ─────────
╰────
help: Delete this code.
⚠ eslint-plugin-unicorn(prefer-optional-catch-binding): Prefer omitting the catch binding parameter if it is unused
╭─[prefer_optional_catch_binding.tsx:1:15]
1 │ try {} catch ({message: notUsedMessage}) {}
· ─────────────────────────
╰────
help: Delete this code.
⚠ eslint-plugin-unicorn(prefer-optional-catch-binding): Prefer omitting the catch binding parameter if it is unused
╭─[prefer_optional_catch_binding.tsx:1:15]
1 │ try {} catch ({cause: {message}}) {}
· ──────────────────
╰────
help: Delete this code.