gitlab-org--gitlab-foss/lib/tasks/eslint.rake
2017-02-13 12:23:03 -06:00

7 lines
123 B
Ruby

unless Rails.env.production?
desc "GitLab | Run ESLint"
task :eslint do
system("yarn", "run", "eslint")
end
end