rubocop-graphql VS rubocop

Compare rubocop-graphql vs rubocop and see what are their differences.


Rubocop extension for enforcing graphql-ruby best practices (by DmitryTsepelev)


A Ruby static code analyzer and formatter, based on the community Ruby style guide. (by rubocop)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
rubocop-graphql rubocop
1 36
202 12,354
- 0.3%
10.0 9.7
about 2 months ago 5 days ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of rubocop-graphql. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning rubocop-graphql yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of rubocop. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-16.
  • code review / feedback for improvement
    2 projects | /r/ruby | 16 Sep 2023
    Adopt some sort of consistent formatting. Your top-level module starts off indented, seems like wasted space. May I suggest RuboCop?
  • An Introduction to RuboCop for Ruby on Rails
    3 projects | | 13 Sep 2023
    By default, out of the box, RuboCop comes with a default set of pre-configured rules. The documentation will tell you Rubocop's default rules.
  • I live and work in the US where protests against police brutality have been ongoing for days, and coming to work this week the word "cop" has an uncomfortable feeling about it.
    3 projects | /r/programmingcirclejerk | 7 Jul 2023
  • Code Reviewing a Ruby on Rails application.
    6 projects | | 3 Jul 2023
    RuboCop is a Ruby static code analyzer (a.k.a. linter) and code formatter. Out of the box it will enforce many of the guidelines outlined in the community Ruby Style Guide. Apart from reporting the problems discovered in your code, RuboCop can also automatically fix many of them for you.
  • Xeme: I'd value your opinion on my new Ruby gem
    5 projects | /r/ruby | 29 May 2023
    But I will encourage you to adopt Rubocop to enforce the style you want, so that if others want to contribute, they can write with spaces and then run rubocop -a and end up with the styling you prefer. Tabs indentation support was added a couple of years back:
  • Welcome to Rails Cheat Sheet
    3 projects | | 13 May 2023
    In my last job I encountered my first Rails codebase ever (mostly REST APIs but a few server-rendered views as well). After the initial chaotic impression of the codebase (it was a startup after all) with all the Rails magic on top, I really fell in love with the framework after a more experienced Rails dev introduced a few key conventions and helpful libraries to the codebase.

    Out of those, I’d at least add the RuboCop [1] linter and the BetterSpecs [2] guidelines to this list. Both helped tremendously in eliminating bikeshedding in the team and freeing up brainpower to solve actual problems. The first one helped me learn intricacies of Ruby bit by bit right in my IDE and the latter guided us to write tests in a style that’s easy to maintain and trust.



  • Nice Ruby IDEs
    2 projects | /r/ruby | 24 Mar 2023
  • “Bots will replace devs!” Also bots:
    2 projects | /r/ProgrammerHumor | 17 Dec 2022
    Still kinda pissed about that. It's the same as with Bens. We will reach equality by removing representation, yay? At least rubocop didn't kneel
  • How to make rubocop be more versatile
    2 projects | /r/ruby | 8 Nov 2022
    1) Many cops have configurable attributes. See for example Layout/SpaceInsideParens. You could open a merge request to add configurable attributes to other cops like Layout/SpaceInsidePercentLiteralDelimiters - as long as the default behaviour stays the same, it will probably get accepted. I do suggest opening an issue with a detailed list of what attributes you would like to add to which cops first, and getting a green light from a maintainer. Check the Contributing section on the website, which also contains a link to the contribution guidelines.
  • Improve Code in Your Ruby Application with RubyCritic
    7 projects | | 26 Oct 2022
    rubocop - a linter for Ruby code that helps you follow a style guide used by the Ruby community, or even apply your own code style. It's very useful to set standards in your team and avoid silly conflicts about spaces and tabs.

What are some alternatives?

When comparing rubocop-graphql and rubocop you can also consider the following projects:

sorbet - A fast, powerful type checker designed for Ruby

Rubycritic - A Ruby code quality reporter

coc-solargraph - Solargraph extension for coc.nvim

bullet - help to kill N+1 queries and unused eager loading

Ruby style guide - A community-driven Ruby coding style guide

Reek - Code smell detector for Ruby

Hashie - Hashie is a collection of classes and mixins that make Ruby hashes more powerful.

Pronto - Quick automated code review of your changes

Devise - Flexible authentication solution for Rails with Warden.

Capistrano - A deployment automation tool built on Ruby, Rake, and SSH.

RSpec - RSpec meta-gem that depends on the other components

Pundit - Minimal authorization through OO design and pure Ruby classes