From 479c98b5534ccba1bf5bdeb5db37f4c9fb0a94c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 13 Sep 2023 09:43:58 +0200 Subject: [PATCH] Sync the remaining TypeScript configuration files --- snippets/typescript/.eslintignore | 3 ++- snippets/typescript/.prettierrc | 2 +- snippets/typescript/package.json | 18 +++++++++--------- snippets/typescript/tsconfig.json | 5 +++-- 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/snippets/typescript/.eslintignore b/snippets/typescript/.eslintignore index cf44e148..50c6cc49 100644 --- a/snippets/typescript/.eslintignore +++ b/snippets/typescript/.eslintignore @@ -1 +1,2 @@ -**/*.js \ No newline at end of file +**/*.js +vendor/** diff --git a/snippets/typescript/.prettierrc b/snippets/typescript/.prettierrc index 83785c02..ad54f003 100644 --- a/snippets/typescript/.prettierrc +++ b/snippets/typescript/.prettierrc @@ -1,2 +1,2 @@ trailingComma: all -printWidth: 120 \ No newline at end of file +printWidth: 120 diff --git a/snippets/typescript/package.json b/snippets/typescript/package.json index 3b6210e7..d343cc64 100644 --- a/snippets/typescript/package.json +++ b/snippets/typescript/package.json @@ -1,14 +1,14 @@ { "devDependencies": { - "@typescript-eslint/eslint-plugin": "^4.6.1", - "@typescript-eslint/parser": "^4.6.1", - "eslint": "^7.12.1", - "eslint-config-prettier": "^6.15.0", - "prettier": "^2.1.2", - "tslib": "^2.0.3", - "typescript": "^4.1.3" + "@typescript-eslint/eslint-plugin": "^6.5.0", + "@typescript-eslint/parser": "^6.5.0", + "eslint": "^8.48.0", + "eslint-config-prettier": "^9.0.0", + "prettier": "^3.0.3", + "tslib": "^2.6.0", + "typescript": "^5.2.2" }, "dependencies": { - "@woltlab/wcf": "https://github.com/WoltLab/WCF.git#master" + "@woltlab/wcf": "https://github.com/WoltLab/WCF.git#5ed76b3a3267dfbffdf19405822d22510ad2bc7d" } -} \ No newline at end of file +} diff --git a/snippets/typescript/tsconfig.json b/snippets/typescript/tsconfig.json index 3d55b756..789895bd 100644 --- a/snippets/typescript/tsconfig.json +++ b/snippets/typescript/tsconfig.json @@ -23,6 +23,7 @@ "node_modules/@woltlab/wcf/ts/*" ] }, - "importHelpers": true + "importHelpers": true, + "newLine": "lf" } -} \ No newline at end of file +} -- 2.20.1