Commit 44ef765
fix(dev-tool): resolve no-useless-assignment error under ESLint v10
ESLint v10's eslint:recommended enables the new no-useless-assignment
rule. dev-tool uses a standalone eslint.config.mjs that applies
@eslint/js recommended directly, so the warn-downgrade in the shared
eslint-customized.ts config does not reach it and the rule fires as an
error. Drop the redundant '= undefined' initializer on artifactURL
(every code path reassigns or throws before it is read).
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cf6320ed-d2d6-420c-8188-6a63a557ca4b1 parent bf3318f commit 44ef765
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments