Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
inherit_from: .rubocop_todo.yml

# The behavior of RuboCop can be controlled via the .rubocop.yml
# configuration file. It makes it possible to enable/disable
# certain cops (checks) and to alter their behavior if they accept
Expand All @@ -8,6 +10,9 @@
# where the inspected file is and continue its way up to the root directory.
#
# See https://docs.rubocop.org/rubocop/configuration
plugins:
- rubocop-gusto

AllCops:
SuggestExtensions: false
NewCops: enable
Expand Down
51 changes: 51 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2026-03-05 18:26:56 UTC using RuboCop version 1.85.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 3

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a fast-follow it could be worth letting claude take a pass through resolving/minimizing as many of these as we can.

Gusto/NoMetaprogramming:
Exclude:
- 'test/support/test_macro.rb'

# Offense count: 1
Gusto/ToplevelConstants:
Exclude:
- 'test/test_helper.rb'

# Offense count: 1
# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates.
# AllowedMethods: call
# WaywardPredicates: infinite?, nonzero?
Naming/PredicateMethod:
Exclude:
- 'lib/packwerk/privacy/checker.rb'

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Performance/StringInclude:
Exclude:
- 'bin/rake'
- 'bin/rubocop'
- 'bin/tapioca'

# Offense count: 19
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: SuggestedStrictness.
Sorbet/FalseSigil:
Enabled: false

# Offense count: 45
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SuggestedStrictness.
Sorbet/StrictSigil:
Enabled: false

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/FileNull:
Exclude:
- 'test/rails_test_helper.rb'
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@
source 'https://rubygems.org'

gemspec

gem 'packwerk', git: 'https://github.com/Shopify/packwerk', branch: 'main'
Loading