Skip to content

Instantly share code, notes, and snippets.

@flxxyz
Last active December 3, 2025 12:43
Show Gist options
  • Select an option

  • Save flxxyz/c8c112e82362623bf14946b40d273f56 to your computer and use it in GitHub Desktop.

Select an option

Save flxxyz/c8c112e82362623bf14946b40d273f56 to your computer and use it in GitHub Desktop.
前端通用.gitignore
# System
.DS_Store
# IDE or eidtor
.idea/
.code/
# Dependency directories
node_modules/
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Package tool
.happypack
# 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
# node-waf configuration
.lock-wscript
# Typescript v1 declaration files
typings/
# 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