Skip to content
Snippets Groups Projects
Commit 8c93ed92 authored by Eduard Thamm's avatar Eduard Thamm
Browse files

Fix: Explicitly set rubocop configuration file

parent 6b466f62
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -26,7 +26,7 @@ group :specs, halt_on_fail: true do
# watch(%r{^lib/guard/(guard|plugin).rb$}) { "spec/guard/plugin" }
end
 
guard :rubocop, all_on_start: false, cli: "--rails" do
guard :rubocop, all_on_start: false, cli: "--rails -c .rubocop.yml" do
watch(%r{.+\.rb$}) { |m| m[0] }
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment