This workflow describes how to systematically process GitHub issues one by one, ensuring consistency and quality in development.
# List all open issues
<?php | |
namespace App\Http\Middleware; | |
use Exception; | |
use Carbon\Carbon; | |
use Closure; | |
use Illuminate\Support\Facades\Log; | |
class SlackRequest |
#!/bin/sh | |
# get all merged branch | |
branches=$(git branch --merged master | grep -v '^[ *]*master$') | |
# define colors | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' | |
LIGHT_GRAY='\e[90m' | |
NC='\033[0m' |
# install ts | |
npm i typescript --save-dev | |
npx tsc --init | |
# update ts config | |
sed -i '' -e 's/"target": "es2016"/"target": "ES2020"/' tsconfig.json | |
sed -i '' -e 's/\/\/ "noImplicitAny": true/"noImplicitAny": true/' tsconfig.json | |
sed -i '' -e 's/\/\/ "strictNullChecks": true/"strictNullChecks": true/' tsconfig.json | |
# install prettier |