diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-06-26 13:07:27 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2022-06-26 13:09:39 -0600 |
| commit | b52dc8785fc03f08c190abbddc05edef7eb243bc (patch) | |
| tree | ca98c4b95f6583957af4f4af0f7a7d7adfd58078 /tasks | |
| parent | 695a57e7a4458518bde429fa68cc848c47dd0b9d (diff) | |
lint bin scripts
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/rubocop.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/rubocop.rake b/tasks/rubocop.rake index 9afae179..fa39518c 100644 --- a/tasks/rubocop.rake +++ b/tasks/rubocop.rake @@ -3,7 +3,7 @@ begin require 'rubocop/rake_task' RuboCop::RakeTask.new :lint do |t| - t.patterns = Dir['lib/**/*.rb'] - ['lib/asciidoctor/pdf/formatted_text/parser.rb'] + %w(Rakefile Gemfile tasks/*.rake spec/**/*.rb) + t.patterns = Dir['lib/**/*.rb'] - ['lib/asciidoctor/pdf/formatted_text/parser.rb'] + %w(Gemfile Rakefile spec/**/*.rb tasks/*.rake bin/*) end rescue LoadError => e task :lint do |
