Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Update .rubocop.yml

Damian Legawiecec4b00f69f57
diff --git a/.rubocop.yml b/.rubocop.yml
index e66aca1b47..a071ceaf40 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -3,17 +3,17 @@ require: rubocop-rspec
AllCops:
TargetRubyVersion: 3.0
Exclude:
- - '**/sandbox/**/*'
- - '**/db/migrate/*'
- - '**/Gemfile'
- - '**/Gemfile.lock'
- - '**/Rakefile'
- - '**/rails'
- - '**/*.gemspec'
- - '**/dummy/**/*'
- - '**/vendor/**/*'
- - '**/spec_helper.rb'
- - '**/templates/**/*'
+ - "**/sandbox/**/*"
+ - "**/db/migrate/*"
+ - "**/Gemfile"
+ - "**/Gemfile.lock"
+ - "**/Rakefile"
+ - "**/rails"
+ - "**/*.gemspec"
+ - "**/dummy/**/*"
+ - "**/vendor/**/*"
+ - "**/spec_helper.rb"
+ - "**/templates/**/*"
Layout/MultilineOperationIndentation:
EnforcedStyle: indented
@@ -29,7 +29,7 @@ Metrics/ModuleLength:
CountComments: false
Max: 250
Exclude:
- - '**/spec/**/*'
+ - "**/spec/**/*"
Style/Documentation:
Enabled: false
@@ -37,7 +37,7 @@ Style/Documentation:
Layout/LineLength:
Max: 150
Exclude:
- - '**/spec/**/*'
+ - "**/spec/**/*"
Metrics/MethodLength:
CountComments: false
@@ -47,11 +47,11 @@ Metrics/BlockLength:
CountComments: false
Max: 50
Exclude:
- - '**/spec/**/*'
- - '**/*.rake'
- - '**/factories/**/*'
- - '**/config/routes.rb'
- - '**/lib/**/testing_support/**/*'
+ - "**/spec/**/*"
+ - "**/*.rake"
+ - "**/factories/**/*"
+ - "**/config/routes.rb"
+ - "**/lib/**/testing_support/**/*"
Metrics/AbcSize:
Max: 45
@@ -65,15 +65,15 @@ Layout/DotPosition:
Layout/SpaceInsideArrayLiteralBrackets:
Exclude:
- - 'api/spec/integration/**/*.rb'
- - 'api/lib/spree/api/testing_support/v2/platform_contexts.rb'
+ - "api/spec/integration/**/*.rb"
+ - "api/lib/spree/api/testing_support/v2/platform_contexts.rb"
Style/FrozenStringLiteralComment:
Enabled: false
Style/ClassVars:
Exclude:
- - 'core/lib/spree/permitted_attributes.rb'
+ - "core/lib/spree/permitted_attributes.rb"
Style/RegexpLiteral:
Enabled: false
@@ -86,7 +86,7 @@ Style/SymbolArray:
Style/SymbolProc:
Exclude:
- - '**/app/serializers/**/*'
+ - "**/app/serializers/**/*"
Style/GuardClause:
Enabled: false
@@ -132,7 +132,7 @@ Style/ClassAndModuleChildren:
Style/AndOr:
Exclude:
- - '**/*controller.rb'
+ - "**/*controller.rb"
Style/HashEachMethods:
Enabled: false
@@ -151,7 +151,7 @@ RSpec/NestedGroups:
Lint/AmbiguousBlockAssociation:
Exclude:
- - '**/spec/**/*'
+ - "**/spec/**/*"
Style/NumericLiterals:
Enabled: false
@@ -189,9 +189,6 @@ RSpec/NamedSubject:
RSpec/MultipleExpectations:
Enabled: false
-RSpec/FilePath:
- Enabled: false
-
RSpec/LetSetup:
Enabled: false