Skip to content

Commit 3769900

Browse files
Revert "chore: move to oxc + dprint"
This reverts commit 9f57a24.
1 parent 0f28919 commit 3769900

File tree

141 files changed

+1418
-1857
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+1418
-1857
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ To setup:
3131
```
3232

3333
## Upgrate tree-sitter Guide
34-
3534
You need to upgrade tree-sitter to the latest version.
3635

3736
You also need to copy the tree-sitter.wasm to the public directory because vite's building convention.
3837

38+
3939
You will usually have weird error messages like `tree-sitter.wasm` is not found
4040
or having wrong `LinkError` of undefined methods like `exit`.
4141

dprint.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424
"indentWidth": 2,
2525
"lineWidth": 100
2626
},
27-
"markdown": {
28-
"lineWidth": 100,
29-
"textWrap": "maintain"
30-
},
3127
"includes": [
3228
"**/*.{ts,tsx,js,jsx,vue,json,md,css,scss,sass,less,html,yaml,yml}"
3329
],
@@ -44,7 +40,6 @@
4440
],
4541
"plugins": [
4642
"https://plugins.dprint.dev/typescript-0.93.0.wasm",
47-
"https://plugins.dprint.dev/json-0.19.3.wasm",
48-
"https://plugins.dprint.dev/markdown-0.17.8.wasm"
43+
"https://plugins.dprint.dev/json-0.19.3.wasm"
4944
]
50-
}
45+
}

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
"dev-force": "vitepress dev website --force",
99
"build": "vue-tsc --noEmit && NODE_OPTIONS=--max_old_space_size=4096 vitepress build website",
1010
"download-parsers": "node --experimental-strip-types website/public/parsers/downloadParsers.mjs",
11-
"serve": "vitepress serve website",
12-
"lint": "oxlint && dprint check",
13-
"lint:fix": "oxlint --fix && dprint fmt"
11+
"serve": "vitepress serve website"
1412
},
1513
"dependencies": {
1614
"@number-flow/vue": "0.4.8",
@@ -26,7 +24,6 @@
2624
},
2725
"devDependencies": {
2826
"@algolia/client-search": "5.29.0",
29-
"dprint": "0.50.1",
3027
"markdown-it": "14.1.0",
3128
"oxlint": "1.7.0",
3229
"search-insights": "2.17.3",

pnpm-lock.yaml

Lines changed: 0 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
},
1616
"include": ["website/**/*.ts", "website/**/*.d.ts", "website/**/*.tsx", "website/**/*.vue"],
1717
"references": [{ "path": "./tsconfig.node.json" }]
18-
}
18+
}

0 commit comments

Comments
 (0)