---
title: "#rubocop articles | Hashnode"
description: "Explore 10 articles tagged #rubocop on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/rubocop"
---

Tag

# #rubocop

10 posts · 9 followers

[Lucian Ghinda](https://hashnode.com/@lucianghinda) · [Mar 19](https://hashnode.com/posts/3-new-rubocop-style-cops-selectbykind-selectbyrange-partitioninsteadofdoubleselect/69bb8e5b8c55d6eefb96f6e3)

### [3 New RuboCop Style Cops: SelectByKind, SelectByRange, PartitionInsteadOfDoubleSelect](https://codeandgit.hashnode.dev/3-new-rubocop-style-cops-selectbykind-selectbyrange-partitioninsteadofdoubleselect?utm_source=hashnode&utm_medium=feed)

Three new RuboCop style cops in v1.85.0: SelectByKind, SelectByRange, PartitionInsteadOfDoubleSelect: why to enable them and how auto-correct simpli

7 min read · [codeandgit.hashnode.dev](https://codeandgit.hashnode.dev/3-new-rubocop-style-cops-selectbykind-selectbyrange-partitioninsteadofdoubleselect?utm_source=hashnode&utm_medium=feed)

[David Montesdeoca](https://hashnode.com/@backpackerhh) · [Oct 28, 2024](https://hashnode.com/posts/the-one-about-linting-in-a-legacy-ruby-project/671f37fd42a8398d57f731c7)

### [The one about linting in a legacy Ruby project](https://davidmontesdeoca.dev/the-one-about-linting-in-a-legacy-ruby-project?utm_source=hashnode&utm_medium=feed)

Learn how to include a linter in a legacy Ruby application

14 min read · [davidmontesdeoca.dev](https://davidmontesdeoca.dev/the-one-about-linting-in-a-legacy-ruby-project?utm_source=hashnode&utm_medium=feed)

[David Montesdeoca](https://hashnode.com/@backpackerhh) · [Sep 28, 2024](https://hashnode.com/posts/the-one-about-conditionals-in-ruby/66f85f98139d6943e7771ab4)

### [The one about conditionals in Ruby](https://davidmontesdeoca.dev/the-one-about-conditionals-in-ruby?utm_source=hashnode&utm_medium=feed)

An in-depth look at conditional statements in Ruby and arguments against using the unless statement for readability

8 min read · [davidmontesdeoca.dev](https://davidmontesdeoca.dev/the-one-about-conditionals-in-ruby?utm_source=hashnode&utm_medium=feed)

[Nathan Lee](https://hashnode.com/@x0nic) · [Sep 28, 2023](https://hashnode.com/posts/stop-vim-from-autoformatting-on-save/6515a2d39b0908e222a3a65c)

### [Stop Vim from autoformatting on save](https://codedrop.io/stop-vim-from-autoformatting-on-save?utm_source=hashnode&utm_medium=feed)

If you are editing a file and you don't want the autoformatter to run when you save a file one time, you can skip it by avoiding :w . Why? Maybe you just want to make a quick edit to a file, and you don't want prettier to run and change the file a to...

1 min read · [codedrop.io](https://codedrop.io/stop-vim-from-autoformatting-on-save?utm_source=hashnode&utm_medium=feed)

[Shloka Shah](https://hashnode.com/@shlokashah) · [Sep 24, 2022](https://hashnode.com/posts/configuring-rubocop-in-code-base/632ee8923ac18d0d78a01c19)

### [Configuring Rubocop in Code Base](https://blog.shlokashah.com/configuring-rubocop-in-code-base?utm_source=hashnode&utm_medium=feed)

Rubocop is a code-style linter for Ruby based on the official Ruby style guide. Rubocop supports autocorrection & is flexible in terms of the configuration of various cops based on our preferences. In this blog post, we discuss the various steps on h...

7 min read · [blog.shlokashah.com](https://blog.shlokashah.com/configuring-rubocop-in-code-base?utm_source=hashnode&utm_medium=feed)

[Tomáš Král](https://hashnode.com/@tomkral) · [Jul 5, 2022](https://hashnode.com/posts/setup-rubocop-and-solargraph-gems-with-visual-studio-code/62c45949195e615be495cf01)

### [Setup Rubocop and Solargraph gems with Visual Studio Code](https://tomkral.hashnode.dev/setup-rubocop-and-solargraph-gems-with-visual-studio-code?utm_source=hashnode&utm_medium=feed)

Setup Rubocop and Solargraph Ruby gems to work with Visual Studio Code on multiple machines with sync enabled

3 min read · [tomkral.hashnode.dev](https://tomkral.hashnode.dev/setup-rubocop-and-solargraph-gems-with-visual-studio-code?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/setup-rubocop-and-solargraph-gems-with-visual-studio-code/62c45949195e615be495cf01)

[Andrew Foster](https://hashnode.com/@andrewfoster73) · [Jun 8, 2022](https://hashnode.com/posts/monitoring-code-quality/62a05cb43e84266b46094922)

### [Monitoring code quality](https://andrewfoster.hashnode.dev/monitoring-code-quality?utm_source=hashnode&utm_medium=feed)

Part 3 of building a Rails 7 application

3 min read · [andrewfoster.hashnode.dev](https://andrewfoster.hashnode.dev/monitoring-code-quality?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/monitoring-code-quality/62a05cb43e84266b46094922)

[Weverton Timoteo](https://hashnode.com/@wevtimoteo) · [Mar 15, 2022](https://hashnode.com/posts/rubocop-how-to-install-and-configure/62fbe39c1ebeafdc3d32aa78)

### [RuboCop: How to install and configure](https://sourcelevel.hashnode.dev/rubocop-how-to-install-and-configure?utm_source=hashnode&utm_medium=feed)

In a large variety of linters from Ruby, we have RuboCop, available as a gem, that follows the best practices described in the Ruby Style Guide.

5 min read · [sourcelevel.hashnode.dev](https://sourcelevel.hashnode.dev/rubocop-how-to-install-and-configure?utm_source=hashnode&utm_medium=feed)
