[update] add autocorrect formatting tool for CJK and Latin-based language.

This commit is contained in:
PrinOrange
2024-08-12 11:03:58 +08:00
parent 2ff6be2cdf
commit 6be43d9285
3 changed files with 103 additions and 1 deletions

View File

@@ -17,7 +17,7 @@
"build:turbo": "npx turbo build lint",
"build": "next build",
"start": "next start",
"format": "npx prettier . --write",
"format": "npx prettier . --write && npx autocorrect --fix",
"lint": "next lint",
"lint:fix": "npx eslint --fix .",
"newpost": "node ./scripts/newpost.mjs",
@@ -102,6 +102,7 @@
"@types/remark-prism": "^1.3.7",
"@types/tar": "^6.1.11",
"archiver": "^7.0.1",
"autocorrect-node": "^2.11.1",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"feed": "^4.2.2",