Rubocop rules
This commit is contained in:
59
Gemfile
59
Gemfile
@@ -32,40 +32,67 @@ gem "jbuilder"
|
||||
# Use Redis adapter to run Action Cable in production
|
||||
gem "redis", ">= 4.0.1"
|
||||
|
||||
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
|
||||
# gem "kredis"
|
||||
|
||||
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
|
||||
gem "bcrypt", "~> 3.1.7"
|
||||
|
||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
gem "tzinfo-data", platforms: %i[ windows jruby ]
|
||||
gem "tzinfo-data", platforms: %i[windows jruby]
|
||||
|
||||
# Reduces boot times through caching; required in config/boot.rb
|
||||
gem "bootsnap", require: false
|
||||
|
||||
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
|
||||
# gem "image_processing", "~> 1.2"
|
||||
gem "active_model_serializers"
|
||||
|
||||
# Security & Performance Monitoring
|
||||
gem "airbrake", "~> 13.0"
|
||||
gem "brakeman", require: false
|
||||
gem "bullet" # For N+1 query alerts
|
||||
gem "query_diet"
|
||||
|
||||
group :development, :test do
|
||||
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
|
||||
gem "debug", platforms: %i[ mri windows ]
|
||||
# Debugging tools
|
||||
gem "debug", platforms: %i[mri windows]
|
||||
gem "factory_bot_rails"
|
||||
gem "faker"
|
||||
|
||||
# Linting & Code Quality
|
||||
gem "rubocop", require: false
|
||||
gem "rubocop-factory_bot", require: false
|
||||
gem "rubocop-performance", "~> 1.23"
|
||||
gem "rubocop-rails", "~> 2.29"
|
||||
gem "rubocop-rspec", "~> 3.4"
|
||||
|
||||
# Pre-commit hooks
|
||||
gem "overcommit", require: false
|
||||
end
|
||||
|
||||
group :development do
|
||||
# Use console on exceptions pages [https://github.com/rails/web-console]
|
||||
# Developer tools
|
||||
gem "spring"
|
||||
gem "spring-commands-rspec"
|
||||
gem "web-console"
|
||||
|
||||
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
|
||||
# gem "rack-mini-profiler"
|
||||
|
||||
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
|
||||
# gem "spring"
|
||||
# Debugging Rails controllers
|
||||
gem "httparty"
|
||||
gem "rack-cors"
|
||||
gem "rest-client"
|
||||
end
|
||||
|
||||
group :test do
|
||||
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
|
||||
gem "capybara"
|
||||
gem "selenium-webdriver"
|
||||
# Testing tools
|
||||
gem "parallel_tests"
|
||||
gem "rspec"
|
||||
gem "rspec-rails"
|
||||
gem "rspec-sidekiq"
|
||||
gem 'rubocop-rspec_rails'
|
||||
gem "shoulda-callback-matchers"
|
||||
gem "shoulda-matchers"
|
||||
|
||||
# Test coverage & logging
|
||||
gem "rspec_junit_formatter"
|
||||
gem "simplecov", require: false
|
||||
gem "simplecov-cobertura", require: false
|
||||
gem "vcr"
|
||||
gem "webmock"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user