#RuboCop

Bozhidar Batsov (a.k.a. Bug)bbatsov@hachyderm.io
2026-02-03

Moar #RuboCop bug-fixes for everyone! github.com/rubocop/rubocop/rel

Enjoy!

I also realized we skipped RuboCop 1.83 due to an issue in the release script... Oh, well...

#ruby

2026-02-02

연속성 2026/05: 열정적인 노력

Hanami 생태계는 `cli`, `router`, `view`와 같은 핵심 컴포넌트에 `repo-sync` 및 `release-machine`을 확장하여 저장소 관리 및 배포 워크플로우를 중앙 집중화함으로써 유지보수 오버헤드를 크게 줄이고 있습니다.

#hanami #jruby #rubocop
ruby-news.kr/articles/continua

2026-02-02

LLM 에이전트에 결정론적 가드레일 적용하기

LLM이 생성한 코드가 유지보수 불가능한 스파게티 코드로 전락하는 것을 막기 위해, 정적 분석 및 린터와 같은 결정론적 가드레일은 자동화되고 객관적인 피드백 루프를 제공하여 필수적입니다.

#rubocop
ruby-news.kr/articles/Use-Dete

Bozhidar Batsov (a.k.a. Bug)bbatsov@hachyderm.io
2026-01-27

A new version of #RuboCop is out with many fixes and improvements! (github.com/rubocop/rubocop/rel)

Enjoy!

#Ruby

three word chant3wordchant@social.coop
2026-01-25

Almost 15k lines of #Ruby, bodily dragged into the present, catching up on ~6 years of updates.

Test coverage increased from "uhh basically nothing" to 65%.

And, thanks mostly to #Rubocop, the code is way neater and more maintainable now.

We even accidentally fixed some longstanding bugs!

Hugely excited for the next major dev task: moving away from "Amazon" "Web" "Services" for file hosting.

2026-01-12

Should I use `private_constant`? I'm lazy and define constants in `private` sections so they are near to the private methods which use them and don't care if developers can access them manually. But apparently rubocop cares, so maybe I should? Or should I just disable the `Lint/UselessConstantScoping` rule?

#rubocop

2026-01-12

Is there any value in allowing "new" rubocop cops? I've been bitten by them dozens of times, however I wonder whether there's value in tackling their inaccuracies head on and submitting feedback early rather than later.

#rubocop #ruby

2026-01-06

@metasploit

community contributor @bcoles took on the often-thankless task of resolving RuboCop violations across the codebase

All cops are bastards

Except #RuboCop

That one's all right

Bozhidar Batsov (a.k.a. Bug)bbatsov@hachyderm.io
2025-12-17

#RuboCop 1.82 is out with many small improvements and bug-fixes! See the release notes for all the details github.com/rubocop/rubocop/rel

Enjoy the new release and have a happy holiday season in style!

#Ruby

Andreas Schneidercryptomilk
2025-12-05

If I'm working on projects which uses script languages, I want to have at least linting set up and covered in CI. However if the project didn't do any linting before you don't want to fix hundreds of issues at once destroying git history.

The right way to do this is to only lint the git diff of changes and make sure only new or modified code is linted. Developers on the project prefer such an approach.

I needed something for so I hacked rubocop-git: gitlab.com/routenbuch/routenbu

three word chant3wordchant@social.coop
2025-09-27

Since last toot yesterday I cracked open a barrel of #Rubocop plugins – this really is the most ergonomic linter I've used 🤩 – and made a lot of headway tidying up the #RSpec tests.

2025-09-15

Glug (github.com/systemed/glug) by @richardf is a ruby DSL for writing MapLibre styles. But it's still #Ruby, so tools like #RuboCop work. They just need some tweaking, because what you want for a procedural programming language is different than what you want for a map design language.

I added rubocop checks to the Street Spirit style: github.com/pnorman/spirit/blob

Like always, it's easier to add this to a new project than add it an existing one.

2025-06-23

Is there any benefit to packaging up common rubocop configuration into a gem (aka inherited_gem) vs. just bundling said gem from git?

Examples:

github.com/ronin-rb/rubocop-ro
github.com/Shopify/ruby-style-

#rubocop

John Leachjohnl
2025-06-17

ACAB also applies to Rubocop

Andrei Kaleshkawidefix@ruby.social
2025-06-05

If you got #rubocop failing on EmptyInterpolation linter in the recent version (v1.76.0), there is good news for you. The issue got fixed - github.com/rubocop/rubocop/pul

#ruby

Bozhidar Batsov (a.k.a. Bug)bbatsov@hachyderm.io
2025-05-22

You might have noticed a record-breaking 7th consecutive bugfix release for #RuboCop (see github.com/rubocop/rubocop/rel). I just wanted to say that's not because the quality of RuboCop dropped, but because I've decided to focus on bug-fixing and polish for a while.

We have plenty of features already! 😁

#Ruby

Bozhidar Batsov (a.k.a. Bug)bbatsov@hachyderm.io
2025-04-22

#RuboCop celebrated its 13th birthday yesterday! It's amazing how far we've come along and how strong the project is going after all that time. A huge THANKS to everyone who was part of this amazing journey so far. As usual - the best is yet to come!

#Ruby

2025-02-27

I added a new configuration option to the `Naming/PredicateName` RuboCop rule: `UseSorbetSigs`. And it’s now released.

If set, it will take into account Sorbet sigs. So it will only complain if the method doesn’t start/end with the right things (like is_, has_, question mark) if there’s a `returns(T::Boolean)` sig.

Setting this option has reduced the number of TODOs for this rule in the `github/github` codebase by over 50%.

#Ruby #RuboCop #Sorbet

James Smith 💾floppy@mastodon.me.uk
2025-02-27

Just wrote my first custom #Rubocop extension to check that Pundit policy_scope is being used in all the right places in @manyfold. It's very very early stage code with no tests and in a complete mess, but it works! #Ruby #Rails

github.com/manyfold3d/rubocop-

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst