From e77776003fa0623d202a3182f6a019bb3f607311 Mon Sep 17 00:00:00 2001 From: Alex Yang <himself65@outlook.com> Date: Tue, 2 Jan 2024 17:12:06 -0600 Subject: [PATCH] style: prettier format (#304) --- package.json | 2 +- templates/types/simple/express/eslintrc.json | 2 +- templates/types/simple/express/tsconfig.json | 2 +- .../types/streaming/express/eslintrc.json | 2 +- .../types/streaming/express/tsconfig.json | 2 +- .../types/streaming/nextjs/tsconfig.json | 25 +++++-------------- tsconfig.json | 7 ++---- 7 files changed, 13 insertions(+), 29 deletions(-) diff --git a/package.json b/package.json index 72e5d336..e893e9e3 100644 --- a/package.json +++ b/package.json @@ -58,4 +58,4 @@ "engines": { "node": ">=16.14.0" } -} \ No newline at end of file +} diff --git a/templates/types/simple/express/eslintrc.json b/templates/types/simple/express/eslintrc.json index c1958179..cf20cdc7 100644 --- a/templates/types/simple/express/eslintrc.json +++ b/templates/types/simple/express/eslintrc.json @@ -1,3 +1,3 @@ { "extends": "eslint:recommended" -} \ No newline at end of file +} diff --git a/templates/types/simple/express/tsconfig.json b/templates/types/simple/express/tsconfig.json index e886da1e..bc819cab 100644 --- a/templates/types/simple/express/tsconfig.json +++ b/templates/types/simple/express/tsconfig.json @@ -7,4 +7,4 @@ "skipLibCheck": true, "moduleResolution": "node" } -} \ No newline at end of file +} diff --git a/templates/types/streaming/express/eslintrc.json b/templates/types/streaming/express/eslintrc.json index c1958179..cf20cdc7 100644 --- a/templates/types/streaming/express/eslintrc.json +++ b/templates/types/streaming/express/eslintrc.json @@ -1,3 +1,3 @@ { "extends": "eslint:recommended" -} \ No newline at end of file +} diff --git a/templates/types/streaming/express/tsconfig.json b/templates/types/streaming/express/tsconfig.json index e886da1e..bc819cab 100644 --- a/templates/types/streaming/express/tsconfig.json +++ b/templates/types/streaming/express/tsconfig.json @@ -7,4 +7,4 @@ "skipLibCheck": true, "moduleResolution": "node" } -} \ No newline at end of file +} diff --git a/templates/types/streaming/nextjs/tsconfig.json b/templates/types/streaming/nextjs/tsconfig.json index e779aa66..40c136b8 100644 --- a/templates/types/streaming/nextjs/tsconfig.json +++ b/templates/types/streaming/nextjs/tsconfig.json @@ -1,11 +1,7 @@ { "compilerOptions": { "target": "es5", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -23,19 +19,10 @@ } ], "paths": { - "@/*": [ - "./*" - ] + "@/*": ["./*"] }, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts" - ], - "exclude": [ - "node_modules" - ] -} \ No newline at end of file + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/tsconfig.json b/tsconfig.json index a653e907..e4edad9e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,8 +7,5 @@ "esModuleInterop": true, "skipLibCheck": false }, - "exclude": [ - "templates", - "dist" - ] -} \ No newline at end of file + "exclude": ["templates", "dist"] +} -- GitLab