Skip to content

Commit 2ea82d5

Browse files
chore: fix knip config
1 parent c5bffeb commit 2ea82d5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

knip.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,12 @@
22
"entry": [
33
"src/index.ts!",
44
"src/lib.ts!",
5+
"src/tools/index.ts!",
56
"tests/**/*.ts",
67
"scripts/**/*.ts",
78
"eslint-rules/*.js"
89
],
9-
"ignore": [
10-
// Knip, for some reason, is not able to link the exported tools to the
11-
// final exports in `tools/index.ts` and complains about unused exports. For
12-
// that reason we're ignoring the tool definitions.
13-
"src/tools/**/*.ts",
14-
"tests/integration/fixtures/curl.mjs",
15-
"tests/vitest.d.ts"
16-
],
10+
"ignore": ["tests/integration/fixtures/curl.mjs", "tests/vitest.d.ts"],
1711
"ignoreDependencies": ["@mongodb-js/atlas-local"],
1812
"ignoreExportsUsedInFile": true
1913
}

0 commit comments

Comments
 (0)