Commit f416db5
fix(lint): resolve oxlint warnings and errors (#173)
* fix(lint): remove unused imports
- Remove unused type imports from @slack/bolt
- Remove unused imports: jsonSchema, parseJsonEventStream, stepCountIs, tap, type
- Remove unused imports: getConsoleLocation, SHA256, execa, execaCommand
- Remove unused imports: Slack, exec, fromWritable, pageFlow, existsSync, getSlackChannel
- Remove unused imports: fs, DIE, watch, generateText, sleep
- Clean up unused gh, upsertSlackMessage, map, maxLength, slackBot imports
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix(lint): prefix unused variables and parameters with underscore
- Prefix unused catch parameters with _error/_e
- Prefix unused destructured variables: _number, _repo, _hash, _branch, etc.
- Prefix unused function parameters: _limit, _pattern, _state, _type, etc.
- Prefix unused loop variables: _i, _a, _k
- Remove redundant double negation operators
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix(lint): convert side-effect expressions to if statements
- Convert `x && doSomething()` to `if (x) doSomething()`
- Convert `x || DIE()` assertions to `if (!x) DIE()`
- Convert comma operator expressions to separate statements
- Fix no-unused-expressions warnings across codebase
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix(lint): misc lint fixes
- Wrap top-level await in async IIFE in src/preload.ts
- Add placeholder export to empty src/cli.test.ts
- Remove empty object binding pattern in router.ts
- Fix erasing operation (0 * 60 * 1000 -> 0) in slackCached.ts
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: code formatting and cleanup
- Apply consistent code formatting across codebase
- Minor refactoring for readability
- Update dependencies in bun.lock
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: snomiao <snomiao@gmail.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 0ae58c1 commit f416db5
88 files changed
Lines changed: 423 additions & 320 deletions
File tree
- .bot
- app
- (dashboard)/followup/actions/send-gmail
- api
- webhook/github
- tasks
- coreping
- gh-bounty
- gh-core-tag-notification
- gh-design
- gh-desktop-release-notification
- gh-frontend-backport-checker
- gh-frontend-release-notification
- gh-issue-transfer-comfyui-to-desktop
- gh-issue-transfer-comfyui-to-frontend
- gh-issue-transfer-comfyui-to-workflow_templates
- gh-issue-transfer-desktop-to-frontend
- gh-issue-transfer-frontend-to-comfyui
- gh-issue-transfer-frontend-to-desktop
- gh-priority-sync
- github-action-update
- github-contributor-analyze
- bot
- code
- slack
- components
- gh-service
- lib
- ai
- github
- slack
- packages/mongodb-pipeline-ts
- run
- gh-bugcop
- scripts
- src
- GithubActionUpdateTask
- db
- gcloud
- test
- templates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| 105 | + | |
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
| |||
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
| 550 | + | |
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | | - | |
| 708 | + | |
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
108 | | - | |
109 | | - | |
| 109 | + | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | | - | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
117 | | - | |
118 | | - | |
| 119 | + | |
| 120 | + | |
119 | 121 | | |
120 | 122 | | |
121 | | - | |
| 123 | + | |
| 124 | + | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
126 | | - | |
127 | | - | |
| 129 | + | |
| 130 | + | |
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
131 | | - | |
| 134 | + | |
| 135 | + | |
132 | 136 | | |
133 | 137 | | |
134 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
0 commit comments