Essentials:
- Wallaby
- Turbo console log
- Tech Debt Metrics
- SonarLint
- GitLens
- Import Cost
- Prettier
- ESLint
- TsLint
alias ws="cd /Workspace" | |
alias fe="cd /end-user-frontend" |
<style global jsx>{` | |
html, | |
body, | |
body > div:first-child, | |
div#__next, | |
div#__next > div { | |
height: 100%; | |
} | |
`}</style> |
#!/bin/bash | |
function ssh_jump_aws { | |
if [[ -z $1 ]]; then | |
echo "jump hostname required as parameter 1" | |
return 1 | |
fi | |
if [[ -z $2 ]]; then | |
echo "target hostname required as parameter 2" |
#!/bin/bash | |
if [ "$1" == "-h" ]; then | |
echo "All subdirectories in the folder from which this script is run would be cloned to a new destination. Pass the destination url as the argument." | |
exit 0 | |
fi | |
remoteurls=() | |
dirs=($(find . -maxdepth 1 \( ! -name . \) -type d)) | |
for dir in "${dirs[@]}"; do |
pkgrefresh(){ rm -rf node_modules && yarn; } | |
//clones and renames boilerplate to the name passed as the first argument | |
function boilerplate() { git clone https://github.com/lek890/react-typescript-webpack-boilerplate.git; mv react-typescript-webpack-boilerplate $1; cd $1; yarn; yarn start;} |
# ---------------------- | |
# Git Aliases | |
# ---------------------- | |
alias lasttag='git fetch --tags && git describe --tags `git rev-list --tags --max-count=1`' | |
alias ga='git add' | |
alias gaa='git add .' | |
alias gaaa='git add --all' | |
alias gau='git add --update' | |
alias gb='git branch' | |
alias gbd='git branch --delete ' |
Essentials:
How to use personal tokens to connect to github from local.
git remote set-url origin https://@github.com//.git
Enable auto import for js module in vscode
Add a jsconfig.json with checkJs true
{
"compilerOptions": {
"baseUrl": "src",
"checkJs": true,
"jsx": "react"
//localTesting/lambda-params.json | |
{ | |
"body": "{\"url\": \"/test-page\"}" | |
} |