Skip to content

Instantly share code, notes, and snippets.

@epreston
Created April 27, 2023 16:37
Show Gist options
  • Save epreston/22d0b818d2c0d384ed786b497826555e to your computer and use it in GitHub Desktop.
Save epreston/22d0b818d2c0d384ed786b497826555e to your computer and use it in GitHub Desktop.
.gitignore - a more complete template for web development
# Add any directories, files, or patterns you don't want to be tracked by version control
# Windows and OSX Specific System Files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
*.swp
ehthumbs.db
Thumbs.db
Icon\?
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Dependency directories
node_modules
# Optional npm cache directory
.npm
# Test coverage reports
coverage
# Distribution Directory
dist/*
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# TypeScript cache
*.tsbuildinfo
# Yarn Integrity file
.yarn-integrity
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment