JoshuaKGoldberg / JoshuaKGoldberg/create-typescript-app
🚀 Feature: Add VsCode config git.branchProtection
Open
status: blocked
status: in discussion
type: feature
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 89
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Description
### Feature Request Checklist
- [x] I have looked at the latest version of the project.
- [x] I have [searched for related issues](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aissue) and found none that matched my issue.
### Overview
Adding a git.branchProtection to the settings.json config for vscode gives a visual indicator(🔒) in VsCode that a branch is protected.
```jsonc
// settings.json
"git.branchProtection": [
"main"
]
```
### Additional Info
This doesn't replace the need to add branch protections in github. It only provides a nice visual indication.
Contributor guide
Assessment
This issue has not been assessed yet.