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