Skip to content

Commit

Permalink
chore: update format glob pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobLinCool committed Feb 4, 2024
1 parent 76e58fe commit 396f792
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .prettierrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ overrides:
parser: "svelte"

plugins:
- prettier-plugin-svelte
- prettier-plugin-tailwindcss
- prettier-plugin-organize-imports
- prettier-plugin-svelte
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Example: [https://hermes.csie.cool/](https://hermes.csie.cool/)

### Ease of Use

- Manage the service through a web UI
- I18n support (currently, English and Chinese)
- Manage the service through a web UI
- I18n support (currently, English and Chinese)

### Secure

- Token-based Authentication
- Address and Domain Allowlist
- Auto Expiration
- Token-based Authentication
- Address and Domain Allowlist
- Auto Expiration

## Getting Started

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:unit": "vitest",
"lint": "prettier --ignore-path .gitignore --check **/*.{ts,js,json,yaml,yml,svelte,html,css} && eslint .",
"format": "prettier --ignore-path .gitignore --write **/*.{ts,js,json,yaml,yml,svelte,html,css}",
"lint": "prettier --ignore-path .gitignore --check . && eslint .",
"format": "prettier --ignore-path .gitignore --write .",
"gen:client": "openapi-typescript .svelte-kit/output/prerendered/pages/api/openapi.json -o client/api.d.ts",
"check-size": "wrangler deploy .svelte-kit/cloudflare/_worker.js --name test --compatibility-date 2024-02-05 --dry-run"
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/server/t.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { waitLocale, t } from "svelte-i18n";
import { t, waitLocale } from "svelte-i18n";

export async function $t(key: string): Promise<string> {
await waitLocale();
Expand Down

0 comments on commit 396f792

Please sign in to comment.