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

9 lines
180 B
Ruby
Raw Normal View History

unless Rails.env.production?
desc "GitLab | Run ESLint"
task eslint: ['yarn:check'] do
2017-02-15 22:03:50 +00:00
unless system('yarn run eslint')
abort('rake eslint failed')
end
end
end