From 0d79eaec804d93787bede45c35bc3df189273ff4 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 29 Feb 2024 10:58:54 +0000
Subject: [PATCH] style: auto format
---
lib/routes/guat/news.js | 2 +-
tsconfig.json | 30 +++++++++++++++---------------
website/docs/routes/government.mdx | 4 ++--
website/docs/routes/other.mdx | 2 +-
4 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/lib/routes/guat/news.js b/lib/routes/guat/news.js
index 76496e6cd..4f3b7e3b5 100644
--- a/lib/routes/guat/news.js
+++ b/lib/routes/guat/news.js
@@ -46,7 +46,7 @@ module.exports = async (ctx) => {
const data = response.data;
const $ = cheerio.load(data);
- const list = new Array();
+ const list = [];
// 适应桂航的奇葩规则
for (let index = 0; index < 19; index++) {
const element = $(`#line_u8_${index}`);
diff --git a/tsconfig.json b/tsconfig.json
index 180b1826b..4b58296c0 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,18 +1,18 @@
{
- "compilerOptions": {
- "target": "ESNext",
- "module": "ESNext",
- "moduleResolution": "Bundler",
- "strict": true,
- "jsx": "react-jsx",
- "jsxImportSource": "hono/jsx",
- "paths": {
- "@/*": ["./lib/*"]
+ "compilerOptions": {
+ "target": "ESNext",
+ "module": "ESNext",
+ "moduleResolution": "Bundler",
+ "strict": true,
+ "jsx": "react-jsx",
+ "jsxImportSource": "hono/jsx",
+ "paths": {
+ "@/*": ["./lib/*"]
+ },
+ "esModuleInterop": true,
+ "noImplicitAny": false,
+ "outDir": "./dist"
},
- "esModuleInterop": true,
- "noImplicitAny": false,
- "outDir": "./dist"
- },
- "include": ["./lib/**/*"],
- "exclude": ["node_modules", "*.test.*"]
+ "include": ["./lib/**/*"],
+ "exclude": ["node_modules", "*.test.*"]
}
diff --git a/website/docs/routes/government.mdx b/website/docs/routes/government.mdx
index da920cce8..71ca7b15e 100644
--- a/website/docs/routes/government.mdx
+++ b/website/docs/routes/government.mdx
@@ -12,9 +12,9 @@
-## Constitutional Court of Baden-Württemberg (Germany) {#constitutional-court-of-baden-wvrttemberg-germany}
+## Constitutional Court of Baden-Württemberg (Germany) {#constitutional-court-of-baden-w%C3%BCrttemberg-germany}
-### Press releases {#constitutional-court-of-baden-wvrttemberg-germany-press-releases}
+### Press releases {#constitutional-court-of-baden-w%C3%BCrttemberg-germany-press-releases}
diff --git a/website/docs/routes/other.mdx b/website/docs/routes/other.mdx
index 8f74cd1b3..5c0fcad4e 100644
--- a/website/docs/routes/other.mdx
+++ b/website/docs/routes/other.mdx
@@ -121,7 +121,7 @@ See [#app-store-mac-app-store](/routes/program-update#app-store-mac-app-store)
-### Macao Pagina Electrónica Especial Contra Epidemias: What’s New {#corona-virus-disease-2019-macao-pagina-electronica-especial-contra-epidemias-what-s-new}
+### Macao Pagina Electrónica Especial Contra Epidemias: What’s New {#corona-virus-disease-2019-macao-pagina-electr%C3%B3nica-especial-contra-epidemias-what-s-new}
Official Website: [https://www.ssm.gov.mo/apps1/PreventWuhanInfection/en.aspx](https://www.ssm.gov.mo/apps1/PreventWuhanInfection/en.aspx)