mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
// ESLint settings:
|
|
"eslint.workingDirectories": ["tgui/"],
|
|
"eslint.nodePath": "tgui/.yarn/sdks",
|
|
"prettier.configPath": "tgui/.prettierrc.yml",
|
|
"prettier.prettierPath": "tgui/.yarn/sdks/prettier/index.cjs",
|
|
"typescript.tsdk": "tgui/.yarn/sdks/typescript/lib",
|
|
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
"search.exclude": {
|
|
"**/.yarn": true,
|
|
"**/.pnp.*": true,
|
|
"tgui/public/**/*": true
|
|
},
|
|
"eslint.format.enable": true,
|
|
"eslint.rules.customizations": [
|
|
// We really want to fail the CI builds on styling errors,
|
|
// but it's better to show them as yellow squigglies in IDE
|
|
// and thus differentiate from the red typescript ones which
|
|
// are actually hard errors.
|
|
{ "rule": "*", "severity": "warn" }
|
|
],
|
|
|
|
"[javascript]": {
|
|
"editor.rulers": [120],
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[javascriptreact]": {
|
|
"editor.rulers": [120],
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[typescript]": {
|
|
"editor.rulers": [120],
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[typescriptreact]": {
|
|
"editor.rulers": [120],
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[scss]": {
|
|
"editor.rulers": [120],
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
|
|
"editor.formatOnSave": true,
|
|
"gitlens.advanced.blame.customArguments": [
|
|
"--ignore-revs-file",
|
|
"${workspaceRoot}/.git-blame-ignore-revs"
|
|
],
|
|
}
|