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

Add rubocop pre-commit hook; Remove redundant returns #6207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 18, 2024

  1. Add rubocop pre-commit hook; Remove redundant returns

    We already run Rubocop on `mgem-list` as seen here:
    
    https://github.com/mruby/mgem-list/blob/7944a361ab9acb0d673f15fbf0e2ce4b80f21514/.pre-commit-config.yaml#L46
    
    This PR adds a basic Rubocop config file and the goal is to standardize the codebase.
    
    Using `rubocop -A` the redundant returns have been autoremoved.
    jbampton committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    c52dda1 View commit details
    Browse the repository at this point in the history