1.3.0 • Published 4 years ago

stylelint-cli v1.3.0

Weekly downloads
1,061
License
MIT
Repository
github
Last release
4 years ago

stylelint-cli

npm Build Status

Global CLI wrapper to execute a local stylelint :octocat:.

Installation

First, uninstall global stylelint if you have ever installed stylelint as a global package.

npm uninstall -g stylelint

Then, install stylelint-cli as a global package.

npm install -g stylelint-cli

Usage

You should install stylelint as a local package in your package directory.

npm install --save-dev stylelint

Now, you can run your local stylelint by global stylelint-cli.

stylelint style.css

For more detail, see also the official stylelint documentation :octocat:.