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.
Currently supports:
- Replacing relative imports with absolute alias (e.g.
@) ones. ✅ - Removing AI comments like (
// 1. Do x, y, z; // Step 2, etc) 🚧
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 --helpTo update
brew update
brew upgrade deslopmake install_nix
nix developbrew install --cask iterm2
brew install --cask font-jetbrains-mono-nerd-fontiTerm2 Settings:
- Open iTerm
- Settings > Profiles > Text.
- Check "Use a different font for non-ASCII text".
- Select the
JetBrainsMono Nerd Font.
- Install GHCUP
- 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- Install hgold for Golden tests
cabal install hspec-golden
hgold # to update golden tests