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.

Exclude permitted_attributes from Rubocop Style/ClassVars warning.

Matthew Kennedy52dc964b5ecb
diff --git a/.rubocop.yml b/.rubocop.yml
index 2af62b5ab1..e5f1ed2cd9 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -70,6 +70,10 @@ Layout/SpaceInsideArrayLiteralBrackets:
Style/FrozenStringLiteralComment:
Enabled: false
+Style/ClassVars:
+ Exclude:
+ - 'core/lib/spree/permitted_attributes.rb'
+
Style/RegexpLiteral:
Enabled: false