Sha256: 3012edb400435129919fd55e1865a22d4d2366170669d168afe39456a3ff832a

Contents?: true

Size: 329 Bytes

Versions: 6

Compression:

Stored size: 329 Bytes

Contents

namespace :commitment do
  require 'jshintrb/jshinttask'
  desc 'Ensure that javascript has been properly linted'
  Jshintrb::JshintTask.new :jshint do |t|
    t.pattern = Commitment.config.jshint_pattern
    t.exclude_pattern = Commitment.config.jshint_exclude_pattern
    t.options = Commitment.config.jshint_options
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
commitment-0.2.0 lib/commitment/tasks/jshint.rake
commitment-0.1.4 lib/commitment/tasks/jshint.rake
commitment-0.1.3 lib/commitment/tasks/jshint.rake
commitment-0.1.2 lib/commitment/tasks/jshint.rake
commitment-0.1.1 lib/commitment/tasks/jshint.rake
commitment-0.1.0 lib/commitment/tasks/jshint.rake