Skip to content

Commit

Permalink
update: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
windingwind committed Nov 29, 2023
1 parent 5be1eef commit 01490ba
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ body:
value: |
- OS:
- Zotero Version:
- Plugin Version:
- Plugin Version:
validations:
required: true

Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ body:
value: |
- OS:
- Zotero Version:
- Plugin Version:
- Plugin Version:
validations:
required: true

Expand Down Expand Up @@ -60,7 +60,7 @@ body:
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
10 changes: 2 additions & 8 deletions addon/chrome/content/syncDiff.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,11 @@ <h2 style="margin: 0">Diff-Merger</h2>
</div>
<div
class="diff-viewport viewport"
style="
width: calc(30% - 10px);
padding: 10px 30px 10px 30px;
"
style="width: calc(30% - 10px); padding: 10px 30px 10px 30px"
></div>
<div
class="render-viewport viewport primary-editor ProseMirror"
style="
width: calc(50% - 10px);
padding: 10px 30px 10px 30px;
"
style="width: calc(50% - 10px); padding: 10px 30px 10px 30px"
></div>
</div>
<div
Expand Down
1 change: 0 additions & 1 deletion addon/chrome/content/treeView.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
}

@media (prefers-color-scheme: dark) {

:not(.dx-state-focused) > .dx-treeview-item.dx-state-hover {
background-color: #494949;
color: #fff;
Expand Down
4 changes: 1 addition & 3 deletions src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ import {
} from "./modules/workspace/content";
import { registerNotify } from "./modules/notify";
import { showWorkspaceWindow } from "./modules/workspace/window";
import {
registerReaderAnnotationButton,
} from "./modules/reader";
import { registerReaderAnnotationButton } from "./modules/reader";
import { setSyncing, callSyncing } from "./modules/sync/hooks";
import {
showTemplatePicker,
Expand Down
6 changes: 5 additions & 1 deletion src/modules/sync/diffWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,11 @@ export async function showSyncDiff(noteId: number, mdPath: string) {
autoSyncDelay: Zotero.Notes.AUTO_SYNC_DELAY,
},
});
await addon.api.$export.syncMDBatch(mdStatus.filedir, [noteItem.id], [mdStatus.meta]);
await addon.api.$export.syncMDBatch(
mdStatus.filedir,
[noteItem.id],
[mdStatus.meta],
);
break;
default:
break;
Expand Down
6 changes: 5 additions & 1 deletion src/modules/template/picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ function showTemplatePicker(
): void;
function showTemplatePicker(
mode: "create",
data?: { noteType?: "standalone" | "item"; parentItemId?: number, topItemIds?: number[] },
data?: {
noteType?: "standalone" | "item";
parentItemId?: number;
topItemIds?: number[];
},
): void;
function showTemplatePicker(mode: "export", data?: Record<string, never>): void;
function showTemplatePicker(): void;
Expand Down

0 comments on commit 01490ba

Please sign in to comment.