Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .prettierignore

This file was deleted.

17 changes: 0 additions & 17 deletions .prettierrc

This file was deleted.

1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"recommendations": [
"oxc.oxc-vscode",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"vitest.explorer"
]
}
7 changes: 3 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"[javascript][typescript][javascriptreact][typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.defaultFormatter": "oxc.oxc-vscode",
Comment thread
concertypin marked this conversation as resolved.
Comment thread
concertypin marked this conversation as resolved.
"editor.tabSize": 4
},
"[github-actions-workflow][yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.tabSize": 2
},
"[json][css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.tabSize": 4
},
"js/ts.preferences.preferTypeOnlyAutoImports": true,
"oxc.typeAware": true,
"prettier.requireConfig": true,
"files.exclude": {
// Generated d.ts, which is not useful since all tsconfig emits there.
"dist-ts": true,
Expand Down
5 changes: 5 additions & 0 deletions oxfmt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineConfig } from "oxfmt";

import base from "@concertypin/config/oxfmt";

export default defineConfig(base);
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"format": "prettier --write . --cache --list-different",
"format:check": "prettier --check . --cache",
"format": "oxfmt --write .",
Comment thread
concertypin marked this conversation as resolved.
"format:check": "oxfmt --check .",
"lint": "pnpm run lint:check --fix",
"lint:check": "oxlint .",
"postinstall": "pnpm exec simple-git-hooks",
Expand All @@ -29,7 +29,7 @@
"react-router-dom": "^7.18.1"
},
"devDependencies": {
"@concertypin/config": "^0.2.0",
"@concertypin/config": ">=0.3.0 <1.0.0",
"@tailwindcss/postcss": "^4.3.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
Expand All @@ -41,10 +41,10 @@
"@vitest/coverage-v8": "^4.1.10",
"globals": "^17.7.0",
"jsdom": "^30.0.1",
"oxfmt": "^0.62.0",
"oxlint": "^1.73.0",
"oxlint-tsgolint": "^0.24.0",
"postcss": "^8.5.16",
"prettier": "^3.9.5",
"simple-git-hooks": "^2.13.1",
"tailwindcss": "^4.3.2",
"typescript": "~7.0.2",
Expand Down
Loading
Loading