lib/quality/tools/scalastyle.rb in quality-32.1.1 vs lib/quality/tools/scalastyle.rb in quality-33.0.0
- old
+ new
@@ -1,12 +1,10 @@
# frozen_string_literal: true
module Quality
module Tools
# Adds 'scalastyle' tool support to quality gem
- module Scalastyle
- private
-
+ class Scalastyle < Tool
def scalastyle_args
c = " -c '#{scalastyle_config}' " if scalastyle_config
x = " -x '#{scalastyle_exclude}' " if scalastyle_exclude
args = ''
args += c if c