Skip to content

Instantly share code, notes, and snippets.

@bsara
Last active October 31, 2023 03:39
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save bsara/35ade5031d120c08adad to your computer and use it in GitHub Desktop.
Save bsara/35ade5031d120c08adad to your computer and use it in GitHub Desktop.
.gitignore File for JavaScript Projects
#---------------------------------------#
# Project Ignores #
#---------------------------------------#
# output
/.temp
/.tmp
/build
/dist
# dependencies
/node_modules
.package.swp
# linters
.eslintcache/
.eslintrc
.eslintrc.yaml
.eslintrc.json
.eslintrc.js
.stylelintcache/
.stylelintrc
.stylelintrc.yaml
.stylelintrc.json
.stylelintrc.js
# misc
/connect.lock
/coverage/*
/report_*
/reports/
.sass-cache/
*.log
#---------------------------------------#
# IDEs & Editors Ignores #
#---------------------------------------#
# Sublime Text
/*.sublime*
.sublime-gulp.cache
# JetBrains IDEs
/.idea
#---------------------------------------#
# General Ignores #
#---------------------------------------#
*~
*.orig
.vagrant
#---------------------------------------#
# Linux Ignores #
#---------------------------------------#
# KDE directory preferences
.directory
#---------------------------------------#
# OSX Ignores #
#---------------------------------------#
.DS_Store
.AppleDouble
.LSOverride
.localized
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
#---------------------------------------#
# Windows Ignores #
#---------------------------------------#
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment