UNPKG

stylint

Version:
13 lines (12 loc) 588 B
'use strict'; // called when -h or --help used, just displays options module.exports = function help() { console.log( '\nStylint' ); console.log( 'Usage: stylint [dir | file] [options]\n' ); console.log( 'Options:'); console.log( '-h', '--help', ' Display list of commands' ); console.log( '-w', '--watch', ' Watch file or directory and run lint on change' ); console.log( '-c', '--config', ' Pass in location of custom config file' ); console.log( '-s', '--strict', ' Run all tests, regardless of config' ); console.log( '-v', '--version', ' Get current version\n' ); }