gitlab-org--gitlab-foss/lib/tasks/lint.rake

9 lines
188 B
Ruby
Raw Normal View History

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