Last active
October 8, 2024 01:17
-
-
Save kor-bim/7c92061718f36f51e15dadec2247e34d to your computer and use it in GitHub Desktop.
[js, ts].gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Created by https://www.toptal.com/developers/gitignore/api/jetbrains,git,node,yarn,react,nextjs,windows,linux,macos | |
| # Edit at https://www.toptal.com/developers/gitignore?templates=jetbrains,git,node,yarn,react,nextjs,windows,linux,macos | |
| ### Git ### | |
| # Created by git for backups. To disable backups in Git: | |
| # $ git config --global mergetool.keepBackup false | |
| *.orig | |
| # Created by git when using merge tools for conflicts | |
| *.BACKUP.* | |
| *.BASE.* | |
| *.LOCAL.* | |
| *.REMOTE.* | |
| *_BACKUP_*.txt | |
| *_BASE_*.txt | |
| *_LOCAL_*.txt | |
| *_REMOTE_*.txt | |
| ### VisualStudioCode ### | |
| .vscode/* | |
| !.vscode/settings.json | |
| !.vscode/tasks.json | |
| !.vscode/launch.json | |
| !.vscode/extensions.json | |
| !.vscode/*.code-snippets | |
| # Local History for Visual Studio Code | |
| .history/ | |
| # Built Visual Studio Code Extensions | |
| *.vsix | |
| ### VisualStudioCode Patch ### | |
| # Ignore all local history of files | |
| .history | |
| .ionide | |
| ### JetBrains ### | |
| # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider | |
| # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | |
| .idea | |
| # User-specific stuff | |
| .idea/**/workspace.xml | |
| .idea/**/tasks.xml | |
| .idea/**/usage.statistics.xml | |
| .idea/**/dictionaries | |
| .idea/**/shelf | |
| # AWS User-specific | |
| .idea/**/aws.xml | |
| # Generated files | |
| .idea/**/contentModel.xml | |
| # Sensitive or high-churn files | |
| .idea/**/dataSources/ | |
| .idea/**/dataSources.ids | |
| .idea/**/dataSources.local.xml | |
| .idea/**/sqlDataSources.xml | |
| .idea/**/dynamic.xml | |
| .idea/**/uiDesigner.xml | |
| .idea/**/dbnavigator.xml | |
| # Gradle | |
| .idea/**/gradle.xml | |
| .idea/**/libraries | |
| # Gradle and Maven with auto-import | |
| # When using Gradle or Maven with auto-import, you should exclude module files, | |
| # since they will be recreated, and may cause churn. Uncomment if using | |
| # auto-import. | |
| # .idea/artifacts | |
| # .idea/compiler.xml | |
| # .idea/jarRepositories.xml | |
| # .idea/modules.xml | |
| # .idea/*.iml | |
| # .idea/modules | |
| # *.iml | |
| # *.ipr | |
| # CMake | |
| cmake-build-*/ | |
| # Mongo Explorer plugin | |
| .idea/**/mongoSettings.xml | |
| # File-based project format | |
| *.iws | |
| # IntelliJ | |
| out/ | |
| # mpeltonen/sbt-idea plugin | |
| .idea_modules/ | |
| # JIRA plugin | |
| atlassian-ide-plugin.xml | |
| # Cursive Clojure plugin | |
| .idea/replstate.xml | |
| # SonarLint plugin | |
| .idea/sonarlint/ | |
| # Crashlytics plugin (for Android Studio and IntelliJ) | |
| com_crashlytics_export_strings.xml | |
| crashlytics.properties | |
| crashlytics-build.properties | |
| fabric.properties | |
| # Editor-based Rest Client | |
| .idea/httpRequests | |
| # Android studio 3.1+ serialized cache file | |
| .idea/caches/build_file_checksums.ser | |
| ### JetBrains Patch ### | |
| # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 | |
| # *.iml | |
| # modules.xml | |
| # .idea/misc.xml | |
| # *.ipr | |
| # Sonarlint plugin | |
| # https://plugins.jetbrains.com/plugin/7973-sonarlint | |
| .idea/**/sonarlint/ | |
| # SonarQube Plugin | |
| # https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin | |
| .idea/**/sonarIssues.xml | |
| # Markdown Navigator plugin | |
| # https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced | |
| .idea/**/markdown-navigator.xml | |
| .idea/**/markdown-navigator-enh.xml | |
| .idea/**/markdown-navigator/ | |
| # Cache file creation bug | |
| # See https://youtrack.jetbrains.com/issue/JBR-2257 | |
| .idea/$CACHE_FILE$ | |
| # CodeStream plugin | |
| # https://plugins.jetbrains.com/plugin/12206-codestream | |
| .idea/codestream.xml | |
| # Azure Toolkit for IntelliJ plugin | |
| # https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij | |
| .idea/**/azureSettings.xml | |
| ### Linux ### | |
| *~ | |
| # temporary files which can be created if a process still has a handle open of a deleted file | |
| .fuse_hidden* | |
| # KDE directory preferences | |
| .directory | |
| # Linux trash folder which might appear on any partition or disk | |
| .Trash-* | |
| # .nfs files are created when an open file is removed but is still being accessed | |
| .nfs* | |
| ### macOS ### | |
| # General | |
| .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 | |
| ### macOS Patch ### | |
| # iCloud generated files | |
| *.icloud | |
| ### NextJS ### | |
| # dependencies | |
| /node_modules | |
| /.pnp | |
| .pnp.js | |
| # testing | |
| /coverage | |
| # next.js | |
| /.next/ | |
| /out/ | |
| # production | |
| /build | |
| # misc | |
| *.pem | |
| # debug | |
| npm-debug.log* | |
| yarn-debug.log* | |
| yarn-error.log* | |
| .pnpm-debug.log* | |
| # local env files | |
| .env*.local | |
| # vercel | |
| .vercel | |
| # typescript | |
| *.tsbuildinfo | |
| next-env.d.ts | |
| ### Node ### | |
| # Logs | |
| logs | |
| *.log | |
| lerna-debug.log* | |
| # Diagnostic reports (https://nodejs.org/api/report.html) | |
| report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | |
| # 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 | |
| *.lcov | |
| # nyc test coverage | |
| .nyc_output | |
| # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | |
| .grunt | |
| # Bower dependency directory (https://bower.io/) | |
| bower_components | |
| # node-waf configuration | |
| .lock-wscript | |
| # Compiled binary addons (https://nodejs.org/api/addons.html) | |
| build/Release | |
| # Dependency directories | |
| node_modules/ | |
| jspm_packages/ | |
| # Snowpack dependency directory (https://snowpack.dev/) | |
| web_modules/ | |
| # TypeScript cache | |
| # Optional npm cache directory | |
| .npm | |
| # Optional eslint cache | |
| .eslintcache | |
| # Optional stylelint cache | |
| .stylelintcache | |
| # Microbundle cache | |
| .rpt2_cache/ | |
| .rts2_cache_cjs/ | |
| .rts2_cache_es/ | |
| .rts2_cache_umd/ | |
| # Optional REPL history | |
| .node_repl_history | |
| # Output of 'npm pack' | |
| *.tgz | |
| # Yarn Integrity file | |
| .yarn-integrity | |
| # dotenv environment variable files | |
| .env | |
| .env.development.local | |
| .env.test.local | |
| .env.production.local | |
| .env.local | |
| # parcel-bundler cache (https://parceljs.org/) | |
| .cache | |
| .parcel-cache | |
| # Next.js build output | |
| .next | |
| out | |
| # Nuxt.js build / generate output | |
| .nuxt | |
| dist | |
| # Gatsby files | |
| .cache/ | |
| # Comment in the public line in if your project uses Gatsby and not Next.js | |
| # https://nextjs.org/blog/next-9-1#public-directory-support | |
| # public | |
| # vuepress build output | |
| .vuepress/dist | |
| # vuepress v2.x temp and cache directory | |
| .temp | |
| # Docusaurus cache and generated files | |
| .docusaurus | |
| # Serverless directories | |
| .serverless/ | |
| # FuseBox cache | |
| .fusebox/ | |
| # DynamoDB Local files | |
| .dynamodb/ | |
| # TernJS port file | |
| .tern-port | |
| # Stores VSCode versions used for testing VSCode extensions | |
| .vscode-test | |
| # yarn v2 | |
| .yarn/cache | |
| .yarn/unplugged | |
| .yarn/build-state.yml | |
| .yarn/install-state.gz | |
| .pnp.* | |
| ### Node Patch ### | |
| # Serverless Webpack directories | |
| .webpack/ | |
| # Optional stylelint cache | |
| # SvelteKit build / generate output | |
| .svelte-kit | |
| ### react ### | |
| .DS_* | |
| **/*.backup.* | |
| **/*.back.* | |
| node_modules | |
| *.sublime* | |
| psd | |
| thumb | |
| sketch | |
| ### Windows ### | |
| # Windows thumbnail cache files | |
| Thumbs.db | |
| Thumbs.db:encryptable | |
| ehthumbs.db | |
| ehthumbs_vista.db | |
| # Dump file | |
| *.stackdump | |
| # Folder config file | |
| [Dd]esktop.ini | |
| # Recycle Bin used on file shares | |
| $RECYCLE.BIN/ | |
| # Windows Installer files | |
| *.cab | |
| *.msi | |
| *.msix | |
| *.msm | |
| *.msp | |
| # Windows shortcuts | |
| *.lnk | |
| ### yarn ### | |
| # https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored | |
| .yarn/* | |
| !.yarn/releases | |
| !.yarn/patches | |
| !.yarn/plugins | |
| !.yarn/sdks | |
| !.yarn/versions | |
| # if you are NOT using Zero-installs, then: | |
| # comment the following lines | |
| !.yarn/cache | |
| # and uncomment the following lines | |
| # .pnp.* | |
| # End of https://www.toptal.com/developers/gitignore/api/jetbrains,git,node,yarn,react,nextjs,windows,linux,macos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment