Sha256: 4cbdba826c0cbad73a91dc4d5776bc482fe5c3349f9912c04b9d122493e58066

Contents?: true

Size: 282 Bytes

Versions: 2

Compression:

Stored size: 282 Bytes

Contents

if %w(development test).include? Rails.env
  require 'rubocop/rake_task'
  require 'scss_lint'
  require 'scss_lint/rake_task'

  RuboCop::RakeTask.new
  SCSSLint::RakeTask.new do |t|
    t.config = '.scss-lint.yml'
  end

  desc 'Lint code'
  task lint: [:rubocop, :scss_lint]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gb-firestarter-0.3.1 templates/lint_rake_task.rb
gb-firestarter-0.3.0 templates/lint_rake_task.rb