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

7 lines
122 B
Ruby

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