Welcome to mirror list, hosted at ThFree Co, Russian Federation.

eslint.rake « tasks « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 529f17d4d27a8210bb857eb6cbd5ba5acde06f6b (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:all')
      abort('rake eslint failed')
    end
  end
end