BigW Consortium Gitlab

eslint.rake 180 Bytes
Newer Older
1 2
unless Rails.env.production?
  desc "GitLab | Run ESLint"
3
  task eslint: ['yarn:check'] do
4 5
    unless system('yarn run eslint')
      abort('rake eslint failed')
6
    end
7 8
  end
end