1.0.0 • Published 2 years agoCLI
parstager
Licence
—
Version
1.0.0
Deps
1
Size
21 kB
Vulns
0
Weekly
0
NOTE: experimental
Parstager
Quickly undo Parinfer formatting on unchanged top-level forms. (using the original formatting found in git HEAD)
Helps you minimize diffs when working on teams that don’t use Parinfer or Parlinter.
npm install -g parstager
parstager src # 1. clean src/ files of some parinfer changes
git add src # 2. stage src/
git commit -m 'my changes' # 3. commit changes
Example
When working on teams that don’t use Parinfer, diffs can be quite large. Parstager helps me isolate diffs to only the functions which I have changed:
| Original file | Edited with Parinfer | Cleaned by Parstager |
|---|---|---|
|
|
|
|
|