evanshortiss / lintspaces-cli

A CLI for the node-lintspaces module.
MIT License
18 stars 6 forks source link

Lintspaces version 0.2.0 #1

Closed schorfES closed 10 years ago

schorfES commented 10 years ago

Hi @evanshortiss, according to keep in touch on changes in lintspaces, I want to report the new features/options in version 0.2.0:

all features should be documented

schorfES commented 10 years ago

Had an issue with npm. Use version 0.2.1 @ npm.

evanshortiss commented 10 years ago

Thanks for the update! Will get an update released in the coming days hopefully.

evanshortiss commented 10 years ago

Updated with support for new lintspaces core feature. Took a little longer than planned. Emigration to the states is a time consuming process!

All changes are on the dev branch. I'll push this to npm as version 0.0.4 soon.

New reporting output:

File: /Users/eshortiss/workspaces/personal/fhlog/lib/Uploader.js
Line: 4 Unexpected spaces found. [warning]
Line: 8 Unexpected spaces found. [warning]
Line: 9 Unexpected spaces found. [warning]
Line: 13 Unexpected spaces found. [warning]
Line: 14 Unexpected spaces found. [warning]
Line: 15 Unexpected spaces found. [warning]

New --help output

Usage: index [options]

  Options:

    -h, --help                      output usage information
    -V, --version                   output the version number
    -n, --newline                   Require newline at end of file.
    -g, --guessindentation          Tries to guess the indention of a line depending on previous lines
    -b, --skiptrailingonblank       Skip blank lines in trailingspaces check.
    -it, --trailingspacestoignores  Ignore trailing spaces in ignores
    -l, --maxnewlines <n>           Specify max number of newlines between blocks.
    -t, --trailingspaces            Tests for useless whitespaces (trailing whitespaces) at each lineending of all files.
    -d, --indentation <s>           Check indentation is "tabs" or "spaces".
    -s, --spaces <n>                Used in conjunction with -d to set number of spaces.
    -i, --ignores <items>           Comma separated list of ignores.
    -e, --editorconfig <s>          Use editorconfig specified at this file path for settings.
schorfES commented 10 years ago

Cool. Waiting for the new release! :+1:

evanshortiss commented 10 years ago

Published.