refactor: enforce Rust dead code and visibility lints #11258
Annotations
10 warnings
|
Run vite-plus commands in oxlint-plugin-complexity:
src/utils.ts#L95
src/utils.ts:95:62: This assertion is unnecessary since the receiver accepts the original type of the expression.
|
|
Run vite-plus commands in oxlint-plugin-complexity:
src/utils.ts#L95
src/utils.ts:95:19: This assertion is unnecessary since the receiver accepts the original type of the expression.
|
|
Run vite-plus commands in oxlint-plugin-complexity:
src/combined-visitor.ts#L204
src/combined-visitor.ts:204:28: Unsafe type assertion: type '{ body: Node$1; }' is more narrow than the original type.
|
|
Run vite-plus commands in oxlint-plugin-complexity:
src/combined-visitor.ts#L201
src/combined-visitor.ts:201:25: Unsafe type assertion: type '{ body: Node$1; }' is more narrow than the original type.
|
|
Run vite-plus commands in oxlint-plugin-complexity:
src/combined-visitor.ts#L186
src/combined-visitor.ts:186:18: Unsafe type assertion: type 'LabeledJumpStatementNode' is more narrow than the original type.
|
|
Run vite-plus commands in oxlint-plugin-complexity:
src/combined-visitor.ts#L176
src/combined-visitor.ts:176:20: Unsafe type assertion: type 'LogicalExpression | undefined' is more narrow than the original type.
|
|
Run vite-plus commands in oxlint-plugin-complexity:
src/utils.ts#L59
src/utils.ts:59:20: This assertion is unnecessary since it does not change the type of the expression.
|
|
Run vite-plus commands in oxlint-plugin-complexity:
src/visitor.ts#L52
src/visitor.ts:52:22: Unsafe type assertion: type 'FunctionNode' is more narrow than the original type.
|
|
Run vite-plus commands in oxlint-plugin-complexity:
src/cognitive/patterns.ts#L8
src/cognitive/patterns.ts:8:18: Unsafe type assertion: type 'IfStatement | undefined' is more narrow than the original type.
|
|
Run vite-plus commands in oxlint-plugin-complexity:
src/utils.ts#L57
src/utils.ts:57:18: Unsafe type assertion: type 'Record<string, unknown>' is more narrow than the original type.
|
background
wait
wait-all
cancel
parallel
Loading