mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 07:12:48 +08:00
DEV: git ignored directories should not have trailing slashes (#27130)
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.
This commit is contained in:
parent
88ebd4c11f
commit
004dabd84f
20
.gitignore
vendored
20
.gitignore
vendored
|
@ -35,20 +35,20 @@
|
|||
|
||||
# Plugins except for the bundled ones
|
||||
/plugins/*
|
||||
!/plugins/discourse-details/
|
||||
!/plugins/discourse-details
|
||||
!/plugins/discourse-local-dates
|
||||
!/plugins/discourse-narrative-bot
|
||||
!/plugins/discourse-presence
|
||||
!/plugins/discourse-lazy-videos/
|
||||
!/plugins/automation/
|
||||
!/plugins/discourse-lazy-videos
|
||||
!/plugins/automation
|
||||
/plugins/automation/gems
|
||||
!/plugins/chat/
|
||||
!/plugins/poll/
|
||||
!/plugins/chat
|
||||
!/plugins/poll
|
||||
!/plugins/styleguide
|
||||
!/plugins/spoiler-alert/
|
||||
!/plugins/checklist/
|
||||
!/plugins/footnote/
|
||||
/plugins/*/auto_generated/
|
||||
!/plugins/spoiler-alert
|
||||
!/plugins/checklist
|
||||
!/plugins/footnote
|
||||
/plugins/*/auto_generated
|
||||
|
||||
/spec/fixtures/plugins/my_plugin/auto_generated
|
||||
|
||||
|
@ -71,7 +71,7 @@ yarn-error.log
|
|||
|
||||
# Linting artifacts
|
||||
.eslintcache
|
||||
/lint-progress/
|
||||
/lint-progress
|
||||
|
||||
# Auto-generated plugin JS assets
|
||||
/app/assets/javascripts/plugins/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user