0.0
The project is in a healthy, maintained state
One rubocop.yml every d3mlabs Ruby repo inherits (`inherit_gem: rubocop-d3mlabs: rubocop.yml`): Shopify's style guide, rubocop-sorbet, and the org's own rules on top. No cops of its own.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

rubocop-d3mlabs

d3mlabs' RuboCop configuration: Shopify's style guide plus the org's rules, shipped as a gem the way rubocop-shopify is. The payload is one file, rubocop.yml; there are no cops of its own.

Use

# Gemfile (or dependencies.rb, for a dev-managed repo)
gem "rubocop-d3mlabs", require: false
# .rubocop.yml
inherit_gem:
  rubocop-d3mlabs: rubocop.yml

rubocop-shopify and rubocop-sorbet arrive as its dependencies; a consumer declares neither. Keep only repo-local facts in your own .rubocop.yml — excluded paths, Sorbet/StrictSigil's include set and holdouts. A rule every d3mlabs Ruby repo should follow belongs in this gem.

What it adds over rubocop-shopify

Cop Setting Why
Style/EndlessMethod disallow A method is def / body / end; the endless form reads as an assignment and splits the code into two spellings.
Sorbet/ValidSigil RequireSigilOnAllFiles: true Every Ruby file declares a typed: sigil; how strict is each repo's call.
AllCops SuggestExtensions: false —
Lint/Void, Lint/BinaryOperatorWithIdenticalOperands Exclude: test/**/* Tests are in the RSpock dialect: bare comparisons and block-name constants are rewritten into assertions, not evaluated.

Development

A dev project: dev up installs the toolchain and gems from dependencies.rb, dev test runs the suite (the config is loaded through RuboCop's own loader and asserted), dev style lints the repo with the config it ships.

Releasing is dev release [<version>] — bumps VERSION, tags, pushes, and attaches rubocop-d3mlabs-<version>.gem to the GitHub release — after which release.yml publishes that exact asset to rubygems.org as a trusted publisher via dev deploy rubygems --release <version>.

License

MIT.