Repository Analysis

sindresorhus/type-fest

A collection of essential TypeScript types

0.6 Likely human-written View on GitHub
0.6
Adjusted Score
0.6
Raw Score
100%
Time Factor
2026-05-30
Last Push
17,170
Stars
TypeScript
Language
38,983
Lines of Code
448
Files
25
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 25

Pattern Findings

25 matches across 4 categories. Click a row to expand file-level details.

Over-Commented Block19 hits · 19 pts
SeverityFileLineSnippet
LOWsource/merge-deep.d.ts401type Bar = {
LOWsource/pick-deep.d.ts41type NameConfig = PickDeep<Configuration, 'userConfig.name'>;
LOWsource/conditional-pick-deep.d.ts81// a: string;
LOWsource/simplify-deep.d.ts41type SimplifyDeepProperties = SimplifyDeep<Properties1 & Properties2>;
LOWsource/schema.d.ts21 attendees: string[];
LOWsource/pick-index-signature.d.ts21 [x: `embedded-${number}`]: string;
LOWsource/exclusify-union.d.ts101// b: number;
LOWlint-rules/validate-jsdoc-codeblocks.test.js701 type Bar = Simplify<Foo>;
LOWlint-rules/validate-jsdoc-codeblocks.test.js721 import type {AllExtend} from 'type-fest';
LOWlint-rules/validate-jsdoc-codeblocks.test.js841 // a: Pick<{
LOWlint-rules/validate-jsdoc-codeblocks.test.js861 //=> {a: {b: Pick<{c: Pick<{d: 1}, 'd'>}, 'c'>}}
LOWlint-rules/validate-jsdoc-codeblocks.test.js1361 // a: {
LOWlint-rules/test-utils.js141```
LOWlint-rules/test-utils.js201@example
LOWlint-rules/test-utils.js241exportTypeAndOption('// Some comment', '/**\nSome JSDoc\n*​/');
LOWtest-d/set-parameter-type.ts41expectType<(a: string) => null>(test5);
LOWtest-d/keys-of-union.ts81type Test9<T extends object> = Assignability9<T, KeysOfUnion<T>>;
LOWtest-d/int-range.ts21// declare const negative: IntRange<-1, 1>;
LOWtest-d/simplify.ts61// id: string;
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippet
LOWsource/all-union-fields.d.ts49function displayPetInfoWithAllUnionFields(petInfo: AllUnionFields<Cat | Dog>) {
LOWsource/shared-union-fields.d.ts48function displayPetInfoWithSharedUnionFields(petInfo: SharedUnionFields<Cat | Dog>) {
LOWsource/shared-union-fields-deep.d.ts70function displayPetInfoWithSharedUnionFieldsDeep(petInfo: SharedUnionFieldsDeep<Cat | Dog>['info']) {
LOWtest-d/asyncify.ts5declare function getFooWithThisArgumentSync(this: Date, name: string): RegExp;
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippet
LOWreadme.md438 name: 'John Doe',
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWsource/async-return-type.d.ts18declare function doSomething(value: Value): void;