debian-mirror-gitlab/lib/tasks/lint.rake
2017-08-17 22:00:37 +05:30

8 lines
188 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