lib/pelusa/lint/line_restriction.rb in pelusa-0.0.2 vs lib/pelusa/lint/line_restriction.rb in pelusa-0.1.0
- old
+ new
@@ -21,10 +21,10 @@
def name
"Is below #{limit} lines"
end
def limit
- 50
+ Pelusa.configuration['LineRestriction'].fetch('limit', 50)
end
def lines
@lines.max - @lines.min
end