mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:08:44 +08:00
004dabd84f
VS Code is configured to automatically excludes files and directories from the `.gitignore` but the trailing slash was not working as expected. The plugins that had a trailing slash in the .gitignore weren't allow-listed properly in VS Code.
84 lines
1.4 KiB
Plaintext
84 lines
1.4 KiB
Plaintext
/copyright
|
|
/coverage
|
|
/data
|
|
/log
|
|
/tmp
|
|
|
|
/.bundle
|
|
/.env
|
|
/.procfile
|
|
/dump.rdb
|
|
.DS_Store
|
|
|
|
/config/discourse.conf
|
|
/config/discourse.pill
|
|
/config/multisite.yml
|
|
# `discourse_dev` gem
|
|
/config/dev.yml
|
|
|
|
/public/assets
|
|
/public/backups
|
|
/public/csv
|
|
/public/fonts
|
|
/public/plugins
|
|
/public/tombstone
|
|
/public/uploads
|
|
|
|
# Ignore the default SQLite database and db dumps
|
|
*.sql
|
|
*.sql.gz
|
|
!/spec/fixtures/**/*.sql
|
|
/db/*.sqlite3
|
|
/db/structure.sql
|
|
/db/schema.rb
|
|
/db/schema_cache.yml
|
|
|
|
# Plugins except for the bundled ones
|
|
/plugins/*
|
|
!/plugins/discourse-details
|
|
!/plugins/discourse-local-dates
|
|
!/plugins/discourse-narrative-bot
|
|
!/plugins/discourse-presence
|
|
!/plugins/discourse-lazy-videos
|
|
!/plugins/automation
|
|
/plugins/automation/gems
|
|
!/plugins/chat
|
|
!/plugins/poll
|
|
!/plugins/styleguide
|
|
!/plugins/spoiler-alert
|
|
!/plugins/checklist
|
|
!/plugins/footnote
|
|
/plugins/*/auto_generated
|
|
|
|
/spec/fixtures/plugins/my_plugin/auto_generated
|
|
|
|
/vendor/bundle/*
|
|
/vendor/data/GeoLite2-City.mmdb
|
|
/vendor/data/GeoLite2-ASN.mmdb
|
|
|
|
# We provide a .sample but people can use newer versions if they want to
|
|
.ruby-version
|
|
.ruby-gemset
|
|
.tool-versions
|
|
|
|
# Likewise, there is a .vscode-sample for VSCode config
|
|
.vscode
|
|
|
|
# Front-end
|
|
dist
|
|
node_modules
|
|
yarn-error.log
|
|
|
|
# Linting artifacts
|
|
.eslintcache
|
|
/lint-progress
|
|
|
|
# Auto-generated plugin JS assets
|
|
/app/assets/javascripts/plugins/*
|
|
|
|
# Generated API documentation files
|
|
openapi/*
|
|
|
|
# Cached License Data Files
|
|
/.licenses
|