summaryrefslogtreecommitdiff
path: root/lib/tasks/lint.rake
blob: 7b63e93db0e67a43941f6b41f94fab5ed991a47a (plain)
1
2
3
4
5
6
7
8
unless Rails.env.production?
  namespace :lint do
    desc "GitLab | lint | Lint JavaScript files using ESLint"
    task :javascript do
      Rake::Task['eslint'].invoke
    end
  end
end