Sha256: 7b126d525beb08647f504449847d306fcb122e2b938c61951eb8824314a95756

Contents?: true

Size: 480 Bytes

Versions: 34

Compression:

Stored size: 480 Bytes

Contents

require "govuk/lint"
require "scss_lint"
require "scss_lint/cli"

module Govuk
  module Lint
    class SassCLI < SCSSLint::CLI
      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
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
govuk-lint-3.1.0 lib/govuk/lint/sass_cli.rb
govuk-lint-3.0.0 lib/govuk/lint/sass_cli.rb
govuk-lint-2.1.0 lib/govuk/lint/sass_cli.rb
govuk-lint-2.0.0 lib/govuk/lint/sass_cli.rb
govuk-lint-1.2.1 lib/govuk/lint/sass_cli.rb
govuk-lint-1.2.0 lib/govuk/lint/sass_cli.rb
govuk-lint-1.1.0 lib/govuk/lint/sass_cli.rb
govuk-lint-1.0.0 lib/govuk/lint/sass_cli.rb
govuk-lint-0.8.1 lib/govuk/lint/sass_cli.rb
govuk-lint-0.8.0 lib/govuk/lint/sass_cli.rb
govuk-lint-0.7.0 lib/govuk/lint/sass_cli.rb
govuk-lint-0.6.2 lib/govuk/lint/sass_cli.rb
govuk-lint-0.6.1 lib/govuk/lint/sass_cli.rb
govuk-lint-0.6.0 lib/govuk/lint/sass_cli.rb