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

8 lines
122 B
Ruby
Raw Normal View History

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