- Inspired and borrowed from belly-button*
npm install -g node-style
Run on the current directory and lint files to make sure they follow the node.js core style rules.
node-style
node-style -f
Will fix linting issues that it finds. This won't fix everything, but will definitely help when you are styling a large codebase.
node-style -i lib/**.js
Will only run linting on the paths that match the input. You can have multiple inputs if you want to lint multiple patterns.