stylelint-cli
v1.3.0
Published
Global CLI wrapper to execute a local stylelint
Downloads
9,689
Maintainers
Readme
stylelint-cli
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:.