rubocop logo


A Ruby static code analyzer and formatter, based on the community Ruby style guide. (by rubocop)


Basic rubocop repo stats
2 days ago

rubocop/rubocop is an open source project licensed under MIT License which is an OSI approved license.

Rubocop Alternatives

Similar projects and alternatives to rubocop
  • GitHub repo pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

  • GitHub repo Reek

    Code smell detector for Ruby

  • GitHub repo RSpec

    RSpec meta-gem that depends on the other components

  • GitHub repo RDoc

    RDoc produces HTML and online documentation for Ruby projects.

  • GitHub repo jekyll-gist

    :page_with_curl: Liquid tag for displaying GitHub Gists in Jekyll sites.

  • GitHub repo jekyll-twitter-plugin

    A Liquid tag plugin for the Jekyll blogging engine that embeds Tweets, Timelines and more from Twitter API

  • GitHub repo jekyll-youtube

    :tv: Generate embed html snippets for Youtube URLs

  • GitHub repo adventofcode

    My solutions to the Advent of Code challenges (by djotaku)

  • GitHub repo jekyll-twitch

    Embed Twitch clips, VODs, and broadcasts in your Jekyll sites.

  • GitHub repo chaelcodes

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better rubocop alternative or higher similarity.


Posts where rubocop has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-06.
  • The best way to review my code for code smells? | 2021-04-06
    Like, why not dig into [RuboCop]( itself? Or search for some other ruby advent of code solutions?
  • Building Jekyll-Twitch, the gem | 2021-04-01
    Rubocop Just for fun, let's add this one too. It'll keep our styles consistent.
  • Method/function lines counter (as RuboCop in Ruby)
    Although I explored pre-commit hooks and unrelated standalone tools for Python, I was unable to find a static analysis package that emits a warning when the number of lines of a method/function is higher than a give threshold. For example, in Ruby, RuboCop gives this kind of warning. I think it's odd because it is a basic metric and while there are many other metrics covered by other analyzers, I didn't find one doing this job.