Registry / devops / sweepi

sweepi

JSON →
library0.0.22jsnpmunverified

Run Sweepit lint rules against a project without modifying its dependencies. Version 0.0.22, released as a standalone CLI tool. It uses a private toolchain in ~/.sweepi to avoid conflicts with project ESLint configs or lockfiles. Key differentiator: no installation into project devDependencies, no ESLint plugin pollution. Supports linting all TypeScript files or only changed files (git-aware). Requires Node >=22.13.0.

npm install sweepi
INSTALL
IMPORT
SIG · SWEEPI
S
sweepi
devopsjavascriptv0.0.22
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default (CLI)
npx sweepi [project-dir]
sweepi [project-dir] (if not installed globally)
Sweepi is a CLI tool; run via npx or globally install. No programmatic API.

Initialize Sweepi toolchain and lint all TypeScript files in the current directory.

npx sweepi init npx sweepi . --all
sweepi --version
Debug
Known issues
breakingRequires Node >=22.13.0. Older versions will fail to run.
fix
Upgrade Node to version >=22.13.0
affects: <0.0.22
gotchaSweepi only lints .ts and .tsx files by default. Other file types are ignored.
fix
Use --all to include all files, but note it still only processes TypeScript files per current implementation.
affects: >=0.0.1
gotchaSweepi uses a separate ESLint installation in ~/.sweepi, which may have different plugin versions than the project.
fix
Ensure ~/.sweepi is reinitialized after major ESLint releases via `npx sweepi init`.
affects: >=0.0.1
breakingSweepi only lints changed files (staged, unstaged, untracked) by default. Running without --all may miss already committed issues.
fix
Use --all to lint entire project.
affects: >=0.0.1
deprecatedGlobal install of sweepi is not recommended; use npx
fix
Use npx sweepi instead of global install
affects: >=0.0.1
Errors
Common errors & fixes
Error: Failed to initialize ~/.sweepi. Please run 'npx sweepi init' or ensure you have write permissions.
Sweepi cannot create or write to ~/.sweepi directory (permissions or existing corrupted state).
fix
Run 'npx sweepi init' and check home directory permissions.
Error: ESLint configuration error: Could not find config file ~/.sweepi/eslint.config.mjs
Sweepi initialization was incomplete or the config file was deleted.
fix
Re-run 'npx sweepi init' to recreate the configuration.
Error: Node.js version must be >=22.13.0. Current version is X.Y.Z
Node version too old.
fix
Upgrade Node.js to version 22.13.0 or higher.
Error: eslint-plugin-sweepit not found in ~/.sweepi/node_modules
Init did not install dependencies properly.
fix
Delete ~/.sweepi and re-run 'npx sweepi init'.
Upgrade
Version history
0.0.22latest on npm
Audit
Dependencies
eslintoptionalSweepi installs ESLint internally in ~/.sweepi
eslint-plugin-sweepitoptionalThe core lint rules used by Sweepi
Agent activity
3 hits · last 30 days
node
2
Resources
sweepi — npm install sweepi · libregistry