Skip to content

Instantly share code, notes, and snippets.

@mikaelvesavuori
Created March 13, 2018 18:37
Show Gist options
  • Save mikaelvesavuori/02eb8008a9d69c68a5957c2e30c2167a to your computer and use it in GitHub Desktop.
Save mikaelvesavuori/02eb8008a9d69c68a5957c2e30c2167a to your computer and use it in GitHub Desktop.
Good base .gitignore
### Node ###
# Dependency directories
/node_modules
# dotenv environment variables file(s)
.env
.env.*
# Build generated
dist/
build/
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
### Vim ###
*.sw[a-p]
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
### macOS ###
*.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment