mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-25 16:03:48 +00:00
11 lines
220 B
Ruby
11 lines
220 B
Ruby
# frozen_string_literal: true
|
|
|
|
unless Rails.env.production?
|
|
desc "GitLab | Run ESLint"
|
|
task eslint: ['yarn:check'] do
|
|
unless system('yarn run lint:eslint:all')
|
|
abort('rake eslint failed')
|
|
end
|
|
end
|
|
end
|