gitlab-org--gitlab-foss/lib/tasks/lint.rake
2016-10-26 10:00:55 +02:00

9 lines
189 B
Ruby

unless Rails.env.production?
namespace :lint do
desc "GitLab | lint | Lint JavaScript files using ESLint"
task :javascript do
Rake::Task['eslint'].invoke
end
end
end