Skip to content

ci: add linting & formatting workflow #1

ci: add linting & formatting workflow

ci: add linting & formatting workflow #1

Triggered via push May 16, 2024 09:23
Status Failure
Total duration 1m 25s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
checks: packages/contracts/src/core/dao/DAO.sol#L5
Line length must be no more than 120 but current length is 126
checks: packages/contracts/src/core/dao/DAO.sol#L10
Line length must be no more than 120 but current length is 123
checks: packages/contracts/src/core/dao/DAO.sol#L12
Line length must be no more than 120 but current length is 126
checks: packages/contracts/src/core/dao/DAO.sol#L28
Line length must be no more than 120 but current length is 138
checks: packages/contracts/src/core/dao/DAO.sol#L63
Line length must be no more than 120 but current length is 125
checks: packages/contracts/src/core/dao/DAO.sol#L70
Line length must be no more than 120 but current length is 184
checks: packages/contracts/src/core/dao/DAO.sol#L73
Line length must be no more than 120 but current length is 181
checks: packages/contracts/src/core/dao/DAO.sol#L90
Line length must be no more than 120 but current length is 144
checks: packages/contracts/src/core/dao/DAO.sol#L125
Line length must be no more than 120 but current length is 230
checks: packages/contracts/src/core/dao/DAO.sol#L147
Line length must be no more than 120 but current length is 138
checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
checks: packages/contracts/src/core/dao/DAO.sol#L11
imported name IERC1155Upgradeable is not used
checks: packages/contracts/src/core/dao/DAO.sol#L218
Code contains empty blocks
checks: packages/contracts/src/core/dao/DAO.sol#L375
When fallback is not payable you will not be able to receive ether
checks: packages/contracts/src/core/dao/DAO.sol#L375
Fallback function must be simple
checks: packages/contracts/src/core/permission/PermissionManager.sol#L5
global import of path @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
checks: packages/contracts/src/core/permission/PermissionManager.sol#L6
global import of path @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
checks: packages/contracts/src/core/permission/PermissionManager.sol#L32
Main key parameter in mapping permissionsHashed is not named
checks: packages/contracts/src/core/permission/PermissionManager.sol#L32
Value parameter in mapping permissionsHashed is not named
checks: packages/contracts/src/core/permission/PermissionManager.sol#L108
Function name must be in mixedCase