blob: 35c3e834258784ca18a5961204b8479a90d33cd5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: true
unless Rails.env.production?
desc "GitLab | Run ESLint"
task eslint: ['yarn:check'] do
unless system('yarn run lint:eslint')
abort('rake eslint failed')
end
end
end
|