- ESLint — Linting tool that identifies and fixes JavaScript/TypeScript code issues based on customizable rules.
- Prettier — Opinionated code formatter to enforce consistent styling across your files automatically.
- Git Graph — Visualize your Git repository history and perform Git actions directly in VSCode.
- GitHub Copilot — AI-powered code completion and suggestions to speed up your coding process.
- HTML CSS Support — Enhances VSCode by adding CSS class and ID autocompletion in HTML files.
- Million Lint — Integrates Million.js linting rules to optimize React code for performance.
- vscode-pets — Adds virtual pets to your editor for a fun and playful coding experience.
- Pretty TypeScript Errors — Improves readability of TypeScript error messages with a clearer UI.
- Python — Essential extension for Python development, providing IntelliSense, debugging, and more.
- Reactjs Code Snippets — Handy snippets for creating React and Redux boilerplate code faster.
- Ruby Solargraph — Provides IntelliSense, auto-completion, and linting support for Ruby projects.
- Tailwind CSS IntelliSense — Autocompletes Tailwind classes and provides linting and hover previews.
My Prettier config
{
"plugins": [
"@trivago/prettier-plugin-sort-imports",
"prettier-plugin-tailwindcss"
],
"tailwindFunctions": ["clsx", "tw"],
"singleQuote": true,
"importOrder": [
"^react$|^react/(.*)$",
"^@radix-ui/react-icons|^lucide-react",
"^@?\\w",
"^(.*)/(ui|components)/(.*)$",
"^(.*)/hooks/(.*)$",
"^@/(.*)$",
"^[./]"
],
"importOrderSortSpecifiers": true,
"importOrderSeparation": true,
"importOrderGroupNamespaceSpecifiers": true
}
Package.json Scripts
"scripts": {
"dev": "next && tsc && prettier --check .",
"build": "next build",
"start": "next start",
"lint": "prettier --check . && tsc",
"lint:type": "tsc",
"lint:fix": "prettier --write . && type",
"format": "prettier --write .",
"analyze": "ANALYZE=true next build",
"clean": "rm -rf .next/ && next build"
},
Github Aliases
alias python=/usr/bin/python3
# Git Aliases
alias gs='git status'
alias ga='git add'
alias gaa='git add .'
alias gc='git commit -m'
alias gca='git add . && git commit -m'
alias gcm='git commit -m'
alias gco='git checkout'
alias gcb='git checkout -b'
alias gb='git branch'
alias gba='git branch -a'
alias gbd='git branch -d'
alias gd='git diff'
alias gds='git diff --stat'
alias gl='git log --oneline --graph --decorate'
alias gpl='git pull'
alias gps='git push'
alias gm='git merge'
alias gst='git stash'
alias gsta='git stash apply'
alias unfuck='git reset --soft HEAD^'
# Ruby Aliases
alias rdbm='rails db:migrate'
alias rdam='rake data:migrate'