From cf715832303471ac683dee19c2b8c0b9fad7a6af Mon Sep 17 00:00:00 2001 From: dacoaster Date: Wed, 16 Aug 2023 06:30:42 -0700 Subject: [PATCH] Linting --- src/components/jira/JiraAddIssue.vue | 10 +++++----- src/menu.js | 30 +++++++++++++++++++++++----- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/src/components/jira/JiraAddIssue.vue b/src/components/jira/JiraAddIssue.vue index 6b8741e3..dce4f68e 100644 --- a/src/components/jira/JiraAddIssue.vue +++ b/src/components/jira/JiraAddIssue.vue @@ -501,11 +501,11 @@ export default { (["number", "string"].includes(thisField[0]?.schema?.type) || (thisField[0]?.schema?.type === "array" && thisField[0]?.schema?.items === "json")) - // This second set of parameters are to filter JIRA fields - // like "Sprints" which need the data pulled from the api. - // I have removed Sprints from incoming fields though, so - // this may not be necessary. But it may prevent issues - // with similar fields in the future. + // This second set of parameters are to filter JIRA fields + // like "Sprints" which need the data pulled from the api. + // I have removed Sprints from incoming fields though, so + // this may not be necessary. But it may prevent issues + // with similar fields in the future. ) { // Remove unrequired simple fields that haven't changed. this.$delete(this.newIssue.fields, key); diff --git a/src/menu.js b/src/menu.js index 920259ef..d1515bd9 100644 --- a/src/menu.js +++ b/src/menu.js @@ -74,13 +74,33 @@ const createMenu = (win) => { { label: i18n.t("menu.edit"), submenu: [ - { label: i18n.t("menu.undo"), accelerator: "CmdOrCtrl+Z", role: "undo" }, - { label: i18n.t("menu.redo"), accelerator: "CmdOrCtrl+Y", role: "redo" }, + { + label: i18n.t("menu.undo"), + accelerator: "CmdOrCtrl+Z", + role: "undo", + }, + { + label: i18n.t("menu.redo"), + accelerator: "CmdOrCtrl+Y", + role: "redo", + }, { type: "separator" }, { label: i18n.t("menu.cut"), accelerator: "CmdOrCtrl+X", role: "cut" }, - { label: i18n.t("menu.copy"), accelerator: "CmdOrCtrl+C", role: "copy" }, - { label: i18n.t("menu.paste"), accelerator: "CmdOrCtrl+V", role: "paste" }, - { label: i18n.t("menu.select_all"), accelerator: "CmdOrCtrl+A", role: "selectAll" }, + { + label: i18n.t("menu.copy"), + accelerator: "CmdOrCtrl+C", + role: "copy", + }, + { + label: i18n.t("menu.paste"), + accelerator: "CmdOrCtrl+V", + role: "paste", + }, + { + label: i18n.t("menu.select_all"), + accelerator: "CmdOrCtrl+A", + role: "selectAll", + }, ], }, {