Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

node-style

geek501BSD2.0.0

Node.js Standard Style

standard, node, style, eslint

readme

Node.js Standard Style

Build Status

Install

npm install -g node-style

Usage

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 -f

Will 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/**.js

Will only run linting on the paths that match the input. You can have multiple inputs if you want to lint multiple patterns.