Skip to content

Commit

Permalink
Remove Prettier Closes #1773
Browse files Browse the repository at this point in the history
  • Loading branch information
Sendouc committed Sep 8, 2024
1 parent d4d6002 commit 4b768c4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ function addAndReturnMap(
} as MapPoolObject);
}

/* prettier-ignore */
buckets.get(bucketNum)![mode] = buckets
.get(bucketNum)!
[mode].filter((map) => map !== stageId);
Expand Down
Binary file modified bun.lockb
Binary file not shown.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
"@types/react-dom": "^18.3.0",
"@types/react-responsive-masonry": "^2.1.3",
"ley": "^0.8.1",
"prettier": "3.3.3",
"sql-formatter": "^15.4.0",
"typescript": "^5.5.4",
"vite": "^5.4.2",
Expand Down
16 changes: 6 additions & 10 deletions scripts/check-translation-jsons.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import fs from "node:fs";
import prettier from "prettier";

import path from "node:path";
import { fileURLToPath } from "node:url";
Expand Down Expand Up @@ -123,16 +122,13 @@ const markdown = createTranslationProgessMarkdown({
totalTranslationCounts,
});

// TODO: migrate to biome
void prettier.format(markdown, { parser: "markdown" }).then((markdown) => {
const translationProgressPath = path.join(
__dirname,
"..",
"translation-progress.md",
);
const translationProgressPath = path.join(
__dirname,
"..",
"translation-progress.md",
);

fs.writeFileSync(translationProgressPath, markdown);
});
fs.writeFileSync(translationProgressPath, markdown);

function validateNoExtraKeysInOther({
english,
Expand Down

0 comments on commit 4b768c4

Please sign in to comment.