✨ Add knip for unused dependency and dead code detection
- Add check:knip using --include dependencies,exports,files (skips the noisy 'types' category, which produces false positives for libraries whose exported types are part of the public API) - Remove tslib and type-fest (both caught as unused by knip) - Add 'knip' to cspell word list - No knip config file: the --include flag keeps the scope targeted without boilerplate, matching the 'keep it simple' principle - Document in project-specs.md (CHECK section) and README.md
This commit is contained in:
1 parent
3fa72820df
commit
ec98223f8d
5 files changed
+947
-37
No files matched your search
+2
-1
@@ -18,7 +18,8 @@
|
||||
"msvc",
|
||||
"publint",
|
||||
"attw",
|
||||
"arethetypeswrong"
|
||||
"arethetypeswrong",
|
||||
"knip"
|
||||
],
|
||||
"ignorePaths": ["dist", "node_modules", "coverage", "*.svg", ".gitignore"]
|
||||
}
|
||||
Reference in new issue
Block a user