chore: fixed minor typo #21
Annotations
10 errors and 11 warnings
Lint the code:
contracts/EncryptedDEXPair.sol#L89
Line length must be no more than 120 but current length is 143
|
Lint the code:
contracts/EncryptedDEXPair.sol#L141
Line length must be no more than 120 but current length is 139
|
Lint the code:
contracts/EncryptedDEXPair.sol#L142
Line length must be no more than 120 but current length is 139
|
Lint the code:
contracts/EncryptedDEXPair.sol#L143
Line length must be no more than 120 but current length is 136
|
Lint the code:
contracts/EncryptedDEXPair.sol#L176
Line length must be no more than 120 but current length is 133
|
Lint the code:
contracts/EncryptedDEXPair.sol#L177
Line length must be no more than 120 but current length is 133
|
Lint the code:
contracts/EncryptedDEXPair.sol#L198
Line length must be no more than 120 but current length is 164
|
Lint the code:
contracts/EncryptedDEXPair.sol#L287
Line length must be no more than 120 but current length is 148
|
Lint the code:
contracts/EncryptedDEXPair.sol#L301
Line length must be no more than 120 but current length is 144
|
Lint the code:
contracts/EncryptedDEXPair.sol#L302
Line length must be no more than 120 but current length is 160
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint the code:
contracts/EncryptedDEXFactory.sol#L5
global import of path ./EncryptedDEXPair.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Lint the code:
contracts/EncryptedDEXFactory.sol#L8
Main key parameter in mapping getPair is not named
|
Lint the code:
contracts/EncryptedDEXFactory.sol#L19
Error message for require is too long: 33 counted / 32 allowed
|
Lint the code:
contracts/EncryptedDEXFactory.sol#L19
Use Custom Errors instead of require statements
|
Lint the code:
contracts/EncryptedDEXFactory.sol#L21
Use Custom Errors instead of require statements
|
Lint the code:
contracts/EncryptedDEXFactory.sol#L22
Use Custom Errors instead of require statements
|
Lint the code:
contracts/EncryptedDEXPair.sol#L5
global import of path ./EncryptedERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Lint the code:
contracts/EncryptedDEXPair.sol#L7
Contract has 27 states declarations but allowed no more than 15
|
Lint the code:
contracts/EncryptedDEXPair.sol#L16
Variable name must be in mixedCase
|
Lint the code:
contracts/EncryptedDEXPair.sol#L58
Use Custom Errors instead of require statements
|
Loading