linting teh hamels
This commit is contained in:
1 parent
8cdb204a94
commit
c1f872e9a1
9 files changed
+57
-36
No files matched your search
@@ -15,12 +15,6 @@
|
||||
#
|
||||
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
|
||||
|
||||
guard :rubocop do
|
||||
watch(/.+\.rb$/)
|
||||
watch(/Rakefile/)
|
||||
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
||||
end
|
||||
|
||||
guard :minitest do
|
||||
watch(%r{^test/test_helper\.rb$}) { 'test' }
|
||||
watch(%r{^test/(.*)\/?(.*)_test\.rb$})
|
||||
@@ -42,6 +36,16 @@ guard 'livereload' do
|
||||
end
|
||||
end
|
||||
|
||||
guard :rubocop do
|
||||
watch(/.+\.rb$/)
|
||||
watch(/Rakefile/)
|
||||
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
||||
end
|
||||
|
||||
guard :scsslint do
|
||||
watch(%r{app/assets/.+\.(scss)})
|
||||
end
|
||||
|
||||
guard :shell do
|
||||
watch(%r{app/views/.*\.haml}) { |m| `haml-lint --color #{m[0]}` }
|
||||
end
|
||||
Reference in new issue
Block a user