From efb24bbde6378809616fa65a077352b50190e067 Mon Sep 17 00:00:00 2001 From: ToxicKevinFerm Date: Wed, 20 Mar 2024 21:53:07 +0100 Subject: [PATCH] Readd settings.json --- .gitignore | 1 - .vscode/settings.json | 105 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 879ef719cd..e0687eff0c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ ui/core/index.ts ui/*/*/index.html .dirstamp .vscode/launch.json -.vscode/settings.json # IDE folders .idea .history diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..7f94fc83f2 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,105 @@ +{ + "editor.defaultFormatter": "esbenp.prettier-vscode", + "eslint.validate": ["javascript", "typescript"], + "eslint.nodePath": "./node_modules", + "eslint.workingDirectories": ["."], + "javascript.preferences.importModuleSpecifier": "relative", + "javascript.preferences.importModuleSpecifierEnding": "minimal", + "typescript.preferences.importModuleSpecifier": "relative", + "typescript.preferences.importModuleSpecifierEnding": "minimal", + "[javascript][javascriptreact][typescript][typescriptreact][scss][html]": { + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "always" + } + }, + "json.schemas": [ + { + "fileMatch": ["*.apl.json"], + "url": "./schemas/apl_rotation.schema.json" + }, + { + "fileMatch": ["*.gear.json"], + "url": "./schemas/gear.schema.json" + } + ], + "Lua.diagnostics.globals": [ + "FONT_COLOR_CODE_CLOSE", + "SELECTED_CHAT_FRAME", + "DEFAULT_CHAT_FRAME", + "InterfaceOptions_AddCategory", + "NORMAL_FONT_COLOR", + "GameFontNormal", + "GameFontHighlight", + "ACCEPT", + "CANCEL", + "GameFontHighlightLarge", + "GameFontHighlightSmall", + "SlashCmdList", + "hash_SlashCmdList", + "NORMAL_FONT_COLOR_CODE", + "CLOSE", + "PanelTemplates_TabResize", + "PanelTemplates_SetDisabledTabState", + "PanelTemplates_SelectTab", + "PanelTemplates_DeselectTab", + "SetDesaturation", + "ColorPickerFrame", + "OpacitySliderFrame", + "ChatFontNormal", + "OKAY", + "NOT_BOUND", + "NUM_BAG_SLOTS", + "NUM_BANKBAGSLOTS", + "InterfaceOptionsFrame_OpenToCategory", + "BANK_CONTAINER", + "CreateFrame", + "geterrorhandler", + "IsLoggedIn", + "PlaySound", + "GetRealmName", + "UnitName", + "UnitClass", + "UnitRace", + "UnitFactionGroup", + "GetCurrentRegion", + "GetLocale", + "C_Container", + "GetTalentInfo", + "UnitFullName", + "GetPlayerInfoByGUID", + "UnitLevel", + "tInvert", + "GetItemInfo", + "IsEquippableItem", + "UnitGUID", + "GetSpellInfo", + "GetInventorySlotInfo", + "GetInventoryItemLink", + "max", + "min", + "ceil", + "BackdropTemplateMixin", + "floor", + "GetCursorInfo", + "ClearCursor", + "hooksecurefunc", + "GetMacroInfo", + "IsShiftKeyDown", + "IsControlKeyDown", + "IsAltKeyDown", + "issecurevariable", + "GetTime", + "C_Timer", + "format", + "gsub", + "strfind", + "strsub", + "strchar", + "strbyte", + "tinsert", + "UIParent" + ], + "[go]": { + "editor.defaultFormatter": "golang.go" + } +}