diff --git a/.rubocop.yml b/.rubocop.yml index 0b58243fd..f2ce53c82 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -26,6 +26,9 @@ AllCops: - Brewfile NewCops: enable +Gemspec/DevelopmentDependencies: + Enabled: false + Layout/EmptyLineAfterMagicComment: Enabled: false @@ -41,17 +44,14 @@ Layout/ParameterAlignment: Lint/AmbiguousBlockAssociation: Enabled: false -Rails/I18nLocaleTexts: - Enabled: false - Metrics: Enabled: false Naming/MemoizedInstanceVariableName: EnforcedStyleForLeadingUnderscores: required -Rails/RakeEnvironment: - Enabled: false +Naming/VariableNumber: + EnforcedStyle: snake_case Rails/ApplicationJob: Enabled: false @@ -59,10 +59,16 @@ Rails/ApplicationJob: Rails/ApplicationRecord: Enabled: false +Rails/I18nLocaleTexts: + Enabled: false + Rails/Inquiry: Exclude: - spec/**/* +Rails/RakeEnvironment: + Enabled: false + Rails/SkipsModelValidations: Exclude: - lib/generators/good_job/templates/update/migrations/**/* @@ -90,10 +96,10 @@ RSpec/MultipleDescribes: Exclude: - spec/lib/tasks/* -RSpec/NestedGroups: +RSpec/MultipleMemoizedHelpers: Enabled: false -RSpec/MultipleMemoizedHelpers: +RSpec/NestedGroups: Enabled: false Style/Documentation: @@ -135,6 +141,3 @@ Style/TrailingCommaInArrayLiteral: Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma - -Naming/VariableNumber: - EnforcedStyle: snake_case diff --git a/Gemfile.lock b/Gemfile.lock index fc5827382..c7d6d5660 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -335,7 +335,7 @@ GEM rspec-mocks (~> 3.11) rspec-support (~> 3.11) rspec-support (3.12.0) - rubocop (1.43.0) + rubocop (1.44.1) json (~> 2.3) parallel (~> 1.10) parser (>= 3.2.0.0)