refactor: enforce Rust dead code and visibility lints #11258
Annotations
9 errors and 10 warnings
|
Run vite-plus commands in npmx.dev:
server/api/contributors.get.ts#L194
server/api/contributors.get.ts:194:22: Parameter '_' is declared but never used.
|
|
Run vite-plus commands in npmx.dev:
server/api/social/likes/[...pkg].get.ts#L11
server/api/social/likes/[...pkg].get.ts:11:73: Parameter '_' is declared but never used.
|
|
Run vite-plus commands in npmx.dev:
server/routes/.well-known/jwks.json.get.ts#L3
server/routes/.well-known/jwks.json.get.ts:3:41: Parameter '_' is declared but never used.
|
|
Run vite-plus commands in npmx.dev:
server/routes/oauth-client-metadata.json.get.ts#L1
server/routes/oauth-client-metadata.json.get.ts:1:41: Parameter '_' is declared but never used.
|
|
Run vite-plus commands in npmx.dev:
app/components/Input/Base.vue#L2
app/components/Input/Base.vue:2:21: Duplicate key 'noPasswordManager'. May cause name collision in script or template tag.
|
|
Run vite-plus commands in npmx.dev:
app/components/Input/Base.vue#L2
app/components/Input/Base.vue:2:10: Duplicate key 'noCorrect'. May cause name collision in script or template tag.
|
|
Run vite-plus commands in npmx.dev:
test/e2e/helpers/fixtures.ts#L130
test/e2e/helpers/fixtures.ts:130:33: Parameter '_' is declared but never used.
|
|
Run vite-plus commands in npmx.dev:
uno-preset-rtl.ts#L131
uno-preset-rtl.ts:131:11: Parameter '_' is declared but never used.
|
|
Run vite-plus commands in npmx.dev:
app/components/Tooltip/Base.vue#L4
app/components/Tooltip/Base.vue:4:28: Duplicate key 'offset'. May cause name collision in script or template tag.
|
|
Run vite-plus commands in npmx.dev:
modules/oauth.ts#L24
modules/oauth.ts:24:22: Unexpected dangling '_' in '`_prepare`'.
|
|
Run vite-plus commands in npmx.dev:
modules/blog.ts#L162
modules/blog.ts:162:42: Unexpected dangling '_' in '`_prepare`'.
|
|
Run vite-plus commands in npmx.dev:
test/nuxt/a11y.spec.ts#L1385
test/nuxt/a11y.spec.ts:1385:14: Function `createTabsFixture` does not capture any variables from its parent scope
|
|
Run vite-plus commands in npmx.dev:
server/utils/docs/client.ts#L107
server/utils/docs/client.ts:107:39: Unexpected dangling '_' in '`_data`'.
|
|
Run vite-plus commands in npmx.dev:
test/nuxt/components/Header/MobileMenu.spec.ts#L27
test/nuxt/components/Header/MobileMenu.spec.ts:27:18: Function `mountMenu` does not capture any variables from its parent scope
|
|
Run vite-plus commands in npmx.dev:
uno-preset-rtl.ts#L81
uno-preset-rtl.ts:81:9: Unexpected dangling '_' in '`_v`'.
|
|
Run vite-plus commands in npmx.dev:
test/nuxt/components/Package/LikeCard.spec.ts#L13
test/nuxt/components/Package/LikeCard.spec.ts:13:12: Function `mountLikeCard` does not capture any variables from its parent scope
|
|
Run vite-plus commands in npmx.dev:
server/utils/github.ts#L32
server/utils/github.ts:32:26: Unexpected dangling '_' in '`_data`'.
|
|
Run vite-plus commands in npmx.dev:
shared/utils/download-chart-last-label.ts#L99
shared/utils/download-chart-last-label.ts:99:41: Spreading to modify object properties in `map` calls is inefficient
|
|
Run vite-plus commands in npmx.dev:
server/api/registry/timeline/[...pkg].get.ts#L79
server/api/registry/timeline/[...pkg].get.ts:79:42: Unexpected dangling '_' in '`_npmUser`'.
|
background
wait
wait-all
cancel
parallel
Loading