Skip to content

Ivy-Apps/deslop

Repository files navigation

Deslop

Warning

The project is under heavy development and unstable. Use at your own risk! It's recommended to use with git so you can revert any undesired changes.

Clean TypeScript slop automatically in milliseconds.

deslop-demo

Currently supports:

  • Replacing relative imports with absolute alias (e.g. @) ones. ✅
  • Removing AI comments like (// 1. Do x, y, z; // Step 2, etc) 🚧

Installation

The easiest way to install Deslop on macOS or Linux is via Homebrew.

Note

Currently only works on MacOS ARM. For Linux it's not tested but you can attempt manual installation from source.

brew tap ivy-apps/tap
brew install deslop
deslop --help

To update

brew update
brew upgrade deslop

Develop with Nix

make install_nix
nix develop

NVIM setup

brew install --cask iterm2
brew install --cask font-jetbrains-mono-nerd-font

iTerm2 Settings:

  1. Open iTerm
  2. Settings > Profiles > Text.
  3. Check "Use a different font for non-ASCII text".
  4. Select the JetBrainsMono Nerd Font.

Devevelop Manually

  1. Install GHCUP
  2. Install GHC, Cabal and HLS.
ghcup install ghc 9.6.7
ghcup set ghc 9.6.7
ghcup install cabal recommended
ghcup set cabal recommended
ghcup install hls recommended
ghcup set hls recommended
  1. Install hgold for Golden tests
cabal install hspec-golden
hgold # to update golden tests

About

Remove AI slop from TypeScript projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published