Run Rubocop on Rakefile (#23871)

lolsob-rspec
Nick Schonning 2023-07-12 03:47:54 -04:00 committed by GitHub
parent 96a8aa32ad
commit 226eaee2f2
2 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,6 @@ AllCops:
Exclude:
- db/schema.rb
- 'bin/*'
- 'Rakefile'
- 'node_modules/**/*'
- 'Vagrantfile'
- 'vendor/**/*'

View File

@ -1,6 +1,8 @@
# frozen_string_literal: true
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
require File.expand_path('config/application', __dir__)
Rails.application.load_tasks