From 2e720ceb4c691df10c74b2a940252ea8ab97133c Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sat, 11 Jun 2022 17:21:47 +0700 Subject: [PATCH] fix tests --- package.json | 26 ++++---------------------- tsconfig.json | 1 + tsconfig.xo.json | 6 ------ 3 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 tsconfig.xo.json diff --git a/package.json b/package.json index 8cb3436..34f31f6 100644 --- a/package.json +++ b/package.json @@ -51,26 +51,20 @@ "devDependencies": { "@sindresorhus/tsconfig": "^3.0.1", "@types/jsdom": "^16.2.14", - "@types/node": "^17.0.38", + "@types/node": "^17.0.42", "@types/zen-observable": "^0.8.3", - "@typescript-eslint/eslint-plugin": "^5.27.0", - "@typescript-eslint/parser": "^5.27.0", "ava": "^4.3.0", "del-cli": "^4.0.1", - "eslint-config-xo-typescript": "^0.51.1", "jsdom": "^19.0.0", "rxjs": "^7.5.5", "tempy": "^3.0.0", - "ts-node": "^10.8.0", - "typescript": "~4.7.2", - "xo": "^0.49.0", + "ts-node": "^10.8.1", + "typescript": "~4.7.3", + "xo": "^0.50.0", "zen-observable": "^0.8.15" }, "sideEffects": false, "ava": { - "timeout": "1m", - "workerThreads": false, - "serial": true, "extensions": { "ts": "module" }, @@ -79,18 +73,6 @@ ] }, "xo": { - "extends": "xo-typescript", - "extensions": [ - "ts" - ], - "parserOptions": { - "project": "./tsconfig.xo.json" - }, - "globals": [ - "BigInt", - "BigInt64Array", - "BigUint64Array" - ], "rules": { "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/explicit-function-return-type": "off", diff --git a/tsconfig.json b/tsconfig.json index e9bd120..e1c05ee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "source" ], "ts-node": { + "transpileOnly": true, "files": true, "experimentalResolver": true } diff --git a/tsconfig.xo.json b/tsconfig.xo.json deleted file mode 100644 index b01049f..0000000 --- a/tsconfig.xo.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.json", - "include": [ - "test" - ] -}