Skip to content

Commit

Permalink
Simplify rubocop configuration
Browse files Browse the repository at this point in the history
We don't care about a clang formatting and can use Rubocop's default
rake task.

Motivation for change was routine TLC
  • Loading branch information
kevindew committed Sep 23, 2022
1 parent 07190f4 commit dba2ad5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
require "bundler/gem_tasks"
require "rake/testtask"
require "rubocop/rake_task"

desc "Run RuboCop"
task :lint, :environment do
sh "bundle exec rubocop --format clang"
end
RuboCop::RakeTask.new

task default: %i[lint test]
task default: %i[rubocop test]

Rake::TestTask.new do |t|
t.libs << "test"
Expand Down

0 comments on commit dba2ad5

Please sign in to comment.