Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linter problems #3171

Merged
merged 4 commits into from
Oct 20, 2023
Merged

Fix linter problems #3171

merged 4 commits into from
Oct 20, 2023

Commits on Oct 20, 2023

  1. vm: fix linter warning

    Fix the following linter warning:
    ```
    indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
    ```
    
    Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
    AnnaShaleva committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    39ce3a9 View commit details
    Browse the repository at this point in the history
  2. network: fix linter warning

    Fix the following linter warning:
    ```
    dot-imports: should not use dot imports (revive)
    ```
    
    Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
    AnnaShaleva committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    6e0af5a View commit details
    Browse the repository at this point in the history
  3. rpcclient: disable linter for documentation example

    Disable the following linter warning:
    ```
    superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (revive)
    ```
    
    Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
    AnnaShaleva committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    3544d65 View commit details
    Browse the repository at this point in the history
  4. neorpc: fix exported structure comment

    Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
    AnnaShaleva committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    7a6b908 View commit details
    Browse the repository at this point in the history