SaaSHub helps you find the best software and product alternatives Learn more →
Top 20 Ruby Rubocop Projects
-
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: https://github.com/rubocop/rubocop/pull/7867
-
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
1) Auto-correcting a whole (large) codebase at once with tons of offenses and dozens of active branches should be used with caution. Merge conflicts, blame pollution (ok, can be solved with .git-blame-ignore-revs, though can hardly remember any project using it). Though, the most important argument is that auto-correct can introduce bugs. Unfortunately, even safe autocorrect can be unsafe. Recently, I broke one popular project (with a decent, but not 99.999% test coverage) with a single "safe" auto-correction commit 🙂 (This issue).
-
-
-
After 3 years in development of 0. version it's a collection of 25 cops for Rubocop to take your GraphQL code to the next level. Link: https://github.com/DmitryTsepelev/rubocop-graphql
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
2) You can create your own rubocop extension with your own cops. See the Extensions docs. This can take the form of files in your application, or your own custom gem. Have a look at e.g. rubocop-rake.
-
2) Inline comments add a lot of noise. Encouraging developers to fix style issues? Or encouraging them to spend time on irrelevant fixes while working on features? The TODO approach should be considered as a prevention measure. The primary goal is to write new code in style. Unfortunately, if there are many large classes/files, TODO config can silent new offenses. To overcome this, we can use alternative tools, like rubocop-gradual.
-
-
-
-
-
-
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Ruby Rubocop related posts
- Welcome to Rails Cheat Sheet
- RuboCoping with legacy: Bring your Ruby code up to Standard
- Ruby 2.7.8 Released
- Nice Ruby IDEs
- Rubocop: The Sheriff of Your Codebase
- It's Official: the Standard Ruby VS Code extension
- How to make rubocop be more versatile
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007f0920c90fb0>
www.saashub.com | 5 Jun 2023
Index
What are some of the best open-source Rubocop projects in Ruby? This list will help you:
Project | Stars | |
---|---|---|
1 | rubocop | 12,262 |
2 | rubocop-rspec | 747 |
3 | rubocop-rails | 712 |
4 | rubocop-github | 616 |
5 | rubocop-performance | 541 |
6 | rubocop-graphql | 189 |
7 | rubocop-minitest | 100 |
8 | rubocop-rake | 61 |
9 | rubocop-gradual | 27 |
10 | rubocop-ruby3_1 | 2 |
11 | rubocop-ruby2_7 | 2 |
12 | rubocop-ruby1_9 | 1 |
13 | rubocop-ruby2_4 | 1 |
14 | rubocop-ruby2_5 | 1 |
15 | rubocop-ruby3_0 | 1 |
16 | rubocop-ruby2_6 | 1 |
17 | rubocop-ruby2_2 | 1 |
18 | rubocop-ruby2_3 | 1 |
19 | rubocop-ruby2_1 | 1 |
20 | rubocop-ruby2_0 | 1 |