Fixes prettier file associations (#88832)

## About The Pull Request
Small change that not only saves a few lines from our current config but
also enforces prettier on other file types (INSIDE tgui).

VS Code is kind of confusing in re: formatter settings and which setting
takes precedence. I've learned that adding this just fixes weirdness
with user-set formatters. This overrides local configuration, which we
are trying to do anyway with .editorconfig.

Based on [this informative
tweet](https://x.com/colinhacks/status/1841934672647094599) by
colinhacks, creator of zod
## Why It's Good For The Game
More PRs can pass linters on CI
## Changelog

N/A
This commit is contained in:
Jeremiah
2025-01-04 08:40:06 -05:00
committed by GitHub
parent 4011fb64cc
commit a7df5f2526
+1 -21
View File
@@ -18,27 +18,7 @@
"git.branchProtection": ["master"],
"gitlens.advanced.blame.customArguments": ["-w"],
"tgstationTestExplorer.project.resultsType": "json",
"[javascript]": {
"editor.rulers": [80],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[javascriptreact]": {
"editor.rulers": [80],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[typescript]": {
"editor.rulers": [80],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.rulers": [80],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[scss]": {
"[javascript][typescript][typescriptreact][javascriptreact][html][scss][css][json][jsonc][markdown][yaml]": {
"editor.rulers": [80],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true