Add favorites and escrow projects from professional-education repo #12
Annotations
10 errors and 10 warnings
basics/favorites/anchor/favorites/tests/favorites.ts#L2
All these imports are only used as types.
|
basics/favorites/anchor/favorites/tests/favorites.ts#L3
All these imports are only used as types.
|
basics/favorites/anchor/favorites/migrations/deploy.ts#L7
This function expression can be turned into an arrow function.
|
tokens/escrow/anchor/tests/escrow.ts#L21
A Node.js builtin module should be imported with the node: protocol.
|
tokens/escrow/anchor/tests/escrow.ts#L29
This type annotation is trivially inferred from its initialization.
|
tokens/escrow/anchor/tests/escrow.ts#L57
The call chain .map().flat() can be replaced with a single .flatMap() call.
|
tokens/escrow/anchor/tests/escrow.ts#L2
Some named imports are only used as types.
|
tokens/escrow/anchor/tests/escrow.ts#L3
All these imports are only used as types.
|
tokens/escrow/anchor/tests/escrow.ts#L4
Some named imports are only used as types.
|
tokens/escrow/anchor/tests/escrow.ts#L11
Some named imports are only used as types.
|
scripts/lib/get-recursive-file-list.ts#L9
Prefer for...of instead of forEach.
|
basics/counter/native/ts/instructions/createIncrementInstruction.ts#L7
Don't use '{}' as a type.
|
basics/account-data/native/tests/test.ts#L10
The assignment should not be in an expression.
|
compression/cutils/anchor/tests/utils/helpers.ts#L109
The catch clause that only rethrows the original error is redundant.
|
compression/cutils/anchor/tests/utils/helpers.ts#L117
Reassigning a function parameter is confusing.
|
basics/pda-rent-payer/native/tests/test.ts#L16
The assignment should not be in an expression.
|
basics/create-account/anchor/tests/test.ts#L31
The assignment should not be in an expression.
|
tokens/nft-minter/native/tests/instructions.ts#L6
The assignment should not be in an expression.
|
basics/rent/native/tests/test.ts#L16
The assignment should not be in an expression.
|
tokens/create-token/native/tests/test.ts#L23
The assignment should not be in an expression.
|
This job failed
Loading