greglook / cljstyle

A tool for formatting Clojure code
Eclipse Public License 1.0
293 stars 39 forks source link

Pipe Command #22

Closed aclev closed 4 years ago

aclev commented 4 years ago

Adds the pipe command. Which reads from stdin fixing any formatting issues and writes to stdout. Intended for editor integration.

I also added the editor integration section in the README for a simple vim setup.

codecov-io commented 4 years ago

Codecov Report

Merging #22 into master will decrease coverage by 0.4%. The diff coverage is 22.22%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
- Coverage   73.97%   73.57%   -0.41%     
==========================================
  Files          10       10              
  Lines        1145     1154       +9     
  Branches       27       27              
==========================================
+ Hits          847      849       +2     
- Misses        271      278       +7     
  Partials       27       27
Impacted Files Coverage Δ
core/src/cljstyle/task/core.clj 17.61% <22.22%> (+0.27%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6b14b69...5193ff6. Read the comment docs.