Skip to content

transcendr/d3sl0p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

d3sl0p

Language-specific deslop CLIs for finding high-signal AI-code slop patterns. The package is designed to be published to npm and used through npx d3sl0p.

CLIs

npx d3sl0p typescript --report-min error src test
npx d3sl0p ts --fail-on none --report-min lead .

The package also exposes a language-specific binary when installed as a dependency or global tool:

d3sl0p-typescript --report-min error src test

For one-off npx execution of a non-primary bin, use npm's package selection form:

npx --package d3sl0p d3sl0p-typescript --report-min error src test

TypeScript scanner

Hard/blocking checks:

  • as any and as unknown as type escape hatches;
  • identical ternary branches;
  • simple identical if/else branches.

Warning/lead checks:

  • long positional parameter lists;
  • bare numeric setTimeout / setInterval delays;
  • non-null assertions;
  • optional calls near code that may assume the side effect ran.

Use hard checks in gates:

npx d3sl0p typescript --report-min error .

Use the full advisory scan during review:

npx d3sl0p typescript --fail-on none --report-min lead .

Warnings and leads are not proof of failure by themselves; they require semantic review.

Wrapper behavior

d3sl0p <language> is intentionally thin. It resolves the language alias and passes every remaining argument to the language-specific CLI unchanged.

Supported languages today:

  • typescript / ts

Development

npm run quality

The test suite creates temporary TypeScript fixtures under /tmp and verifies both the TypeScript scanner and wrapper pass-through behavior.

About

Language-specific deslop CLIs for high-signal AI-code slop scanning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors