Skip to content

Commit

Permalink
Fix organize import prettier plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
miikaah committed Jul 10, 2024
1 parent 9f17c58 commit f36e8d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-check
export default {
endOfLine: "auto",
plugins: ["prettier-plugin-organize-imports"],
};
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import {
protocol,
screen,
} from "electron";
import path from "path";
import { stat } from "fs/promises";
import fs from "fs";
import fs from "node:fs";
import { stat } from "node:fs/promises";
import path from "node:path";

import { createApi, scanColor } from "./api";
import { Api, Db, Fs, Scanner } from "./musa-core-import";
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect, test } from "@playwright/test";
import { ElectronApplication, Page, _electron as electron } from "playwright";
import { test, expect } from "@playwright/test";

let electronApp: ElectronApplication;
let window: Page;
Expand Down

0 comments on commit f36e8d1

Please sign in to comment.