From 2455c606f77a88f2d8e0d0939c58a3ecdb81266d Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 18 Jun 2023 21:28:00 +0300 Subject: [PATCH] Meta tweaks --- index.test-d.ts | 1 + package.json | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/index.test-d.ts b/index.test-d.ts index 25955e9..f09fcd9 100644 --- a/index.test-d.ts +++ b/index.test-d.ts @@ -72,6 +72,7 @@ expectType( expectType(globbyStream('*.tmp', {gitignore: true})); expectType(globbyStream('*.tmp', {ignore: ['**/b.tmp']})); +// eslint-disable-next-line unicorn/prefer-top-level-await (async () => { const streamResult = []; for await (const path of globbyStream('*.tmp')) { diff --git a/package.json b/package.json index d40d405..40e7462 100644 --- a/package.json +++ b/package.json @@ -68,20 +68,25 @@ "devDependencies": { "@globby/main-branch": "sindresorhus/globby#main", "@types/node": "^17.0.18", - "ava": "^4.0.1", + "ava": "^5.3.1", "benchmark": "2.1.4", "get-stream": "^6.0.1", "glob-stream": "^7.0.0", "rimraf": "^3.0.2", "tempy": "^3.0.0", - "tsd": "^0.19.1", + "tsd": "^0.28.1", "typescript": "^4.5.5", - "xo": "^0.47.0" + "xo": "^0.54.2" }, "xo": { "ignores": [ "fixtures" - ] + ], + "rules": { + "@typescript-eslint/consistent-type-definitions": "off", + "n/prefer-global/url": "off", + "@typescript-eslint/consistent-type-imports": "off" + } }, "ava": { "files": [