-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
3,825 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@3/schema.json", | ||
"entry": [ | ||
"src/*/_namespaces/*.ts", | ||
|
||
"Herebyfile.mjs", | ||
// Knip does not understand Herebyfile.mjs (a new Knip plugin could probably handle it), so we add the entry files manually: | ||
"src/cancellationToken/cancellationToken.ts", | ||
"src/typingsInstaller/nodeTypingsInstaller.ts", | ||
"src/tsc/tsc.ts", | ||
"src/tsserver/server.ts", | ||
"src/typescript/typescript.ts", | ||
"src/watchGuard/watchGuard.ts", | ||
|
||
// src/testRunner/tests.ts does not export anything, so we add all test files separately instead: | ||
"src/testRunner/unittests/**/*.ts", | ||
|
||
// The rest of the entry files, mostly to track used dependencies: | ||
".eslintplugin.js", | ||
".gulp.js", | ||
"scripts/eslint/{rules,tests}/*.cjs", | ||
"scripts/*.{cjs,mjs}" | ||
], | ||
"ignore": [ | ||
"src/lib/**", | ||
"tests/**" | ||
], | ||
"ignoreDependencies": ["c8", "eslint-formatter-autolinkable-stylish", "mocha-fivemat-progress-reporter"], | ||
"ignoreExportsUsedInFile": { | ||
"enum": true, | ||
"interface": true, | ||
"type": true | ||
} | ||
} |
Oops, something went wrong.