chore: enforce prettier, ignore submodules and vendor files (#3018)

* chore: enforce prettier, ignore submodules and vendor files

* chore: add format check in CI

---------

Co-authored-by: Huang Xin <chrox.huang@gmail.com>
This commit is contained in:
xijibomi-coffee
2026-01-21 14:53:02 +01:00
committed by GitHub
parent ea811c90c6
commit d1d0d2d59c
15 changed files with 114 additions and 83 deletions
+3 -1
View File
@@ -5,7 +5,9 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"tauri": "pnpm --filter @readest/readest-app tauri",
"dev-web": "pnpm --filter @readest/readest-app dev-web"
"dev-web": "pnpm --filter @readest/readest-app dev-web",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}\""
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",