Skip to content

Commit

Permalink
update fire p2 APL, fix some prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Mar 12, 2024
1 parent c4bbefe commit fdfbd8b
Show file tree
Hide file tree
Showing 5 changed files with 349 additions and 219 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.json
4 changes: 2 additions & 2 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* @type {import("prettier").Options)}
* @type {import("prettier").Config}
*/
module.exports = {
printWidth: 100,
printWidth: 160,
useTabs: true,
tabWidth: 4,
semi: true,
Expand Down
210 changes: 88 additions & 122 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,130 +2,96 @@
"eslint.validate": ["javascript", "typescript"],
"eslint.nodePath": "./node_modules",
"eslint.workingDirectories": ["."],
"[javascript]": {
"[javascript][javascriptreact][typescript][typescriptreact][html][scss]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
// "source.fixAll.eslint": "explicit"
}
},
"[javascriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
}
},
"[typescript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
}
},
"[typescriptreact]": {
"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"
}
},
"[scss]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
}
},
"[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"
],
"[javascript][scss][typescript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}
],
"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"
]
}
Loading

0 comments on commit fdfbd8b

Please sign in to comment.