Neologistic Paraphasic Mumbling

    uslint

    0.6.2 • Public • Published

    uslint

    Zero-config eslint, jsonlint, stylelint cli. All in one.

    Require Node >= 8.5.0

    Integrate

    Install

    npm i uslint -D
    # or 
    npm i uslint -g

    Usage

    Usage: uslint [files] [options]
    
      -h, --help          displays help
      -f, --fix           Automatically fix problems
      --errorOnly         Only show error, filter out warnings
      --jsonlint String   lint json files
      --stylelint String  lint style files (css, less)
      --styleVerbose      stylelint output formatter: verbose
    
    Version: 0.5.0
    

    eg.

    uslint src/ client/

    Zero-config!

    Options

    -f, --fix

    Automatically fix problems.

    eslint --fix

    stylelint --fix

    --errorOnly

    Only show error, filter out warnings. The same as eslint --quiet.

    --jsonlint [String]

    lint json files.

    # use eslint to lint folder src 
    # use jsonlint to lint 'jsons/**/*.json' 
    uslint src/ --jsonlint 'jsons/**/*.json'

    --stylelint [String]

    lint style files. (less)

    # use eslint to lint folder src 
    # use jsonlint to lint 'jsons/**/*.json' 
    # use stylelint to lint 'client/**/*.less' 
    uslint src/ --jsonlint 'jsons/**/*.json' --stylelint 'client/**/*.less'

    --styleVerbose

    Stylelint output format verbose.

    Plugins and parsers

    Eslint

    Stylelint

    LICENSE

    MIT © PengJiyuan

    Install

    npm i uslint

    DownloadsWeekly Downloads

    21

    Version

    0.6.2

    License

    MIT

    Unpacked Size

    127 kB

    Total Files

    8

    Last publish

    Collaborators

    • pjy