fix:lint #130
ci.yml
on: push
Lint sources
24s
Unit tests
1m 36s
Annotations
2 errors and 12 warnings
Lint sources
Process completed with exit code 1.
|
Unit tests
Process completed with exit code 1.
|
Lint sources
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint sources:
contracts/base/BasePaymaster.sol#L7
global import of path @openzeppelin/contracts/utils/introspection/IERC165.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Lint sources:
contracts/base/BasePaymaster.sol#L10
global import of path account-abstraction/core/UserOperationLib.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Lint sources:
contracts/base/BasePaymaster.sol#L18
Immutable variables name are set to be in capitalized SNAKE_CASE
|
Lint sources:
contracts/base/BasePaymaster.sol#L109
GC: Use Custom Errors instead of require statements
|
Lint sources:
contracts/base/BasePaymaster.sol#L156
GC: Use Custom Errors instead of revert statements
|
Lint sources:
contracts/base/BasePaymaster.sol#L163
GC: Use Custom Errors instead of require statements
|
Lint sources:
contracts/base/BasePaymaster.sol#L171
Avoid to use inline assembly. It is acceptable only in rare cases
|
Lint sources:
contracts/interfaces/IBiconomySponsorshipPaymaster.sol#L4
global import of path @openzeppelin/contracts/token/ERC20/IERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Lint sources:
contracts/libraries/TokenPaymasterParserLib.sol#L5
global import of path account-abstraction/core/UserOperationLib.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Lint sources:
contracts/mocks/Imports.sol#L6
global import of path account-abstraction/core/EntryPoint.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|