feat: add rubcop folder
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ require:
|
||||
- rubocop-performance
|
||||
- rubocop-rails
|
||||
- rubocop-rspec
|
||||
- ./lib/rubocop/user_find_by.rb
|
||||
- ./rubocop/use_from_email.rb
|
||||
|
||||
Layout/LineLength:
|
||||
Max: 150
|
||||
|
||||
@@ -32,7 +32,7 @@ module Chatwoot
|
||||
# Initialize configuration defaults for originally generated Rails version.
|
||||
config.load_defaults 7.0
|
||||
|
||||
config.autoload_lib(ignore: %w[rubocop])
|
||||
config.eager_load_paths << Rails.root.join('lib')
|
||||
config.eager_load_paths << Rails.root.join('enterprise/lib')
|
||||
# rubocop:disable Rails/FilePath
|
||||
config.eager_load_paths += Dir["#{Rails.root}/enterprise/app/**"]
|
||||
|
||||
Reference in New Issue
Block a user