2.0.0 • Published 9 years ago
node-style v2.0.0
Node.js Standard Style
- Inspired and borrowed from belly-button*
Install
npm install -g node-styleUsage
Run on the current directory and lint files to make sure they follow the node.js core style rules.
node-style--fix (-f)
node-style -fWill fix linting issues that it finds. This won't fix everything, but will definitely help when you are styling a large codebase.
--input (-i)
node-style -i lib/**.jsWill only run linting on the paths that match the input. You can have multiple inputs if you want to lint multiple patterns.