Class: Govuk::Lint::SassCLI

Inherits:
SCSSLint::CLI
  • Object
show all
Defined in:
lib/govuk/lint/sass_cli.rb

Instance Method Summary collapse

Instance Method Details

#run(args = ARGV) ⇒ Object



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/govuk/lint/sass_cli.rb', line 8

def run(args = ARGV)
  args += [
            "--config",
            File.join(Govuk::Lint::CONFIG_PATH, "scss_lint/gds-sass-styleguide.yml"),
            "--no-color",
            "--exclude",
            File.join(args.first, "**/vendor/*"),
          ]

  super(args)
end