Skip to content

Instantly share code, notes, and snippets.

@andreasonny83
Last active April 5, 2024 01:22
Show Gist options
  • Save andreasonny83/b24e38b7772a3ea362d8e8d238d5a7bc to your computer and use it in GitHub Desktop.
Save andreasonny83/b24e38b7772a3ea362d8e8d238d5a7bc to your computer and use it in GitHub Desktop.
Gitignore template for JavaScript projects
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# 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
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# IDEs and editors
.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# misc
.sass-cache
connect.lock
typings
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Dependency directories
node_modules/
jspm_packages/
# 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
# dotenv environment variables file
.env
# next.js build output
.next
# Lerna
lerna-debug.log
# System Files
.DS_Store
Thumbs.db
@aolveramx
Copy link

Very useful 👌🏻. Thank you!

@MarufSharifi
Copy link

thanks

@SerhiyAndryeyev
Copy link

Thanks!

@gg-fsd
Copy link

gg-fsd commented Jan 16, 2022

Thanks for the template!

@jais-s
Copy link

jais-s commented Feb 25, 2022

Thanks a lot!

@buraktkn
Copy link

buraktkn commented Mar 1, 2022

Thank you it is very useful.

@ravi-pathak-dev
Copy link

Thanks 😍

@amareshcoding
Copy link

Thank you for sharing it.

@znu-labs
Copy link

znu-labs commented Jun 7, 2022

I just included this file in a repository. Thank you very much for sharing.

@grover-righter
Copy link

Thanks for shaing - useful and matches my needs exactly.

@LedaHuerta
Copy link

thanks a lot!

@a-lapkov
Copy link

Thanks a lot! :-)

@oybekdev1998
Copy link

Thanks bro!

@vachanmn123
Copy link

Thanks!

@ibernabel
Copy link

Thank you for your support!

@thebigdatajedi
Copy link

Sorry thought I was posting to a different gist. :-P

@WojtekCodesToday
Copy link

OK!

@bztoy
Copy link

bztoy commented Mar 14, 2023

Thanks for sharing.

@tricerintops
Copy link

Does anyone know why GitHub doesn't already have a .gitignore template for javascript in the dropdown when creating a new repository?

@WojtekCodesToday
Copy link

Does anyone know why GitHub doesn't already have a .gitignore template for javascript in the dropdown when creating a new repository?

probably github devs (creators) being lazy

@Roman270488
Copy link

Thank you!

@mrdnr
Copy link

mrdnr commented Jul 11, 2023

Thx for info

@ramazansancar
Copy link

@tricerintops Does anyone know why GitHub doesn't already have a .gitignore template for javascript in the dropdown when creating a new repository?
FYI @WojtekCodesToday

It is located under the name "Node" :)

Here:
image

@andreasonny83
Copy link
Author

Thank you @ramazansancar .
I know this is now integrated into GitHub. However, at the time I created this file, the integration did not exist.

@WojtekCodesToday
Copy link

@tricerintops Does anyone know why GitHub doesn't already have a .gitignore template for javascript in the dropdown when creating a new repository?
FYI @WojtekCodesToday

It is located under the name "Node" :)

Here: image

Thanks, i use some keywords that aren't there, that's why.
(i hope "Deno" exists)

@JuanLarenasO
Copy link

Thanks man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment