1 2 3 4 5 6 7
unless Rails.env.production? desc "GitLab | Run ESLint" task :eslint do system("npm", "run", "eslint") end end