diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-12-03 21:48:16 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2019-12-03 21:48:16 -0700 |
| commit | 38fbc2114213ba762c75d946f57040a6ab53cf7f (patch) | |
| tree | fb6bb4cc588ccaa6692039fb0875aee2c674c533 /tasks | |
| parent | 5aee6ebbff724b42a6bbee1f2c083add6a76c970 (diff) | |
first wave of lint violations in application code
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/bundler.rake | 2 | ||||
| -rw-r--r-- | tasks/clean.rake | 2 | ||||
| -rw-r--r-- | tasks/rspec.rake | 2 | ||||
| -rw-r--r-- | tasks/rubocop.rake | 4 | ||||
| -rw-r--r-- | tasks/yard.rake | 2 |
5 files changed, 11 insertions, 1 deletions
diff --git a/tasks/bundler.rake b/tasks/bundler.rake index 2960920c..4378a0c2 100644 --- a/tasks/bundler.rake +++ b/tasks/bundler.rake @@ -1,3 +1,5 @@ +# frozen_string_literal: true + begin require 'bundler/gem_tasks' $default_tasks << :build # rubocop:disable Style/GlobalVars diff --git a/tasks/clean.rake b/tasks/clean.rake index 73966af3..137a30a1 100644 --- a/tasks/clean.rake +++ b/tasks/clean.rake @@ -1 +1,3 @@ +# frozen_string_literal: true + require 'rake/clean' diff --git a/tasks/rspec.rake b/tasks/rspec.rake index f9556439..1d9a8280 100644 --- a/tasks/rspec.rake +++ b/tasks/rspec.rake @@ -1,3 +1,5 @@ +# frozen_string_literal: true + begin require 'rspec/core/rake_task' RSpec::Core::RakeTask.new :spec do |t| diff --git a/tasks/rubocop.rake b/tasks/rubocop.rake index d2b06720..4f191c63 100644 --- a/tasks/rubocop.rake +++ b/tasks/rubocop.rake @@ -1,7 +1,9 @@ +# frozen_string_literal: true + begin require 'rubocop/rake_task' RuboCop::RakeTask.new :lint do |t| - t.patterns = ['Rakefile', 'tasks/*.rake', 'lib/**/*.rb', 'spec/**/*.rb'] + t.patterns = ['Rakefile', 'Gemfile', 'tasks/*.rake', 'lib/**/*.rb', 'spec/**/*.rb'] end rescue LoadError => e task :lint do diff --git a/tasks/yard.rake b/tasks/yard.rake index 4a04a607..00a2d374 100644 --- a/tasks/yard.rake +++ b/tasks/yard.rake @@ -1,3 +1,5 @@ +# frozen_string_literal: true + begin require 'yard' YARD::Rake::YardocTask.new |
