Skip to content

Commit

Permalink
use prettier until biome has markdown support
Browse files Browse the repository at this point in the history
  • Loading branch information
itsMapleLeaf committed Aug 30, 2024
1 parent d9c7813 commit 2bec50b
Show file tree
Hide file tree
Showing 9 changed files with 362 additions and 135 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"semi": false,
"useTabs": true,
"plugins": ["prettier-plugin-jsdoc"]
}
8 changes: 3 additions & 5 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
}
}
},
"formatter": {
"enabled": false
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"javascript": {
"formatter": {
"semicolons": "asNeeded"
}
}
}
File renamed without changes.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
"name": "remix-electron-monorepo",
"license": "MIT",
"type": "module",
"packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247",
"packageManager": "pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1",
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "pnpm run -r --filter ./workspaces/remix-electron build",
"lint": "biome lint .",
"format": "biome check . --apply",
"format-unsafe": "biome check . --apply-unsafe",
"format": "prettier --write --list-different .",
"typecheck": "pnpm -r exec tsc --noEmit",
"knip": "knip",
"checks": "npm-run-all --continue-on-error build lint typecheck knip test",
Expand All @@ -19,9 +18,10 @@
},
"dependencies": {},
"devDependencies": {
"@biomejs/biome": "1.5.3",
"knip": "^4.2.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"prettier-plugin-jsdoc": "^1.3.0",
"release-it": "^17.0.3",
"typescript": "^5.3.3"
}
Expand Down
453 changes: 338 additions & 115 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion workspaces/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
"start": "electron ."
},
"build": {
"files": ["build", "desktop", "public", "remix.config.js"]
"files": [
"build",
"desktop",
"public",
"remix.config.js"
]
},
"dependencies": {
"@remix-run/node": "^2.5.1",
Expand Down
6 changes: 3 additions & 3 deletions workspaces/template/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"target": "esnext",
"verbatimModuleSyntax": false, // TODO: enable this when moving to ESM
"paths": {
"~/*": ["./app/*"],
},
"~/*": ["./app/*"]
}
},
"exclude": ["build", "public/build", ".cache"],
"exclude": ["build", "public/build", ".cache"]
}
9 changes: 2 additions & 7 deletions workspaces/tests/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
import { defineConfig } from "@playwright/test"

/**
* Read environment variables from file.
* https://github.com/motdotla/dotenv
*/
/** Read environment variables from file. https://github.com/motdotla/dotenv */
// require('dotenv').config();

/**
* See https://playwright.dev/docs/test-configuration.
*/
/** See https://playwright.dev/docs/test-configuration. */
export default defineConfig({
testDir: "./tests",
/* Run tests in files in parallel */
Expand Down

0 comments on commit 2bec50b

Please sign in to comment.