Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whizark/stylelint-cli
:wrench: stylelint global CLI wrapper to execute your local stylelint.
https://github.com/whizark/stylelint-cli
cli css lint sass scss stylelint styleshe
Last synced: about 1 month ago
JSON representation
:wrench: stylelint global CLI wrapper to execute your local stylelint.
- Host: GitHub
- URL: https://github.com/whizark/stylelint-cli
- Owner: whizark
- License: mit
- Created: 2016-12-26T16:19:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-10T23:07:22.000Z (about 1 year ago)
- Last Synced: 2024-10-29T00:19:01.772Z (about 2 months ago)
- Topics: cli, css, lint, sass, scss, stylelint, styleshe
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stylelint-cli
[![npm][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]Global CLI wrapper to execute a local [stylelint][stylelint-io] [:octocat:][stylelint-github].
## Installation
First, uninstall global `stylelint` if you have ever installed
`stylelint` as a global package.```sh
npm uninstall -g stylelint
```Then, install `stylelint-cli` as a global package.
```sh
npm install -g stylelint-cli
```## Usage
You should install `stylelint` as a local package in your package
directory.```sh
npm install --save-dev stylelint
```Now, you can run your local `stylelint` by global `stylelint-cli`.
```sh
stylelint style.css
```For more detail, see also [the official stylelint documentation][stylelint-io] [:octocat:][stylelint-github].
[stylelint-io]: http://stylelint.io
[stylelint-github]: https://github.com/stylelint/stylelint[npm-image]: https://img.shields.io/npm/v/stylelint-cli.svg
[npm-url]: https://www.npmjs.com/stylelint-cli[travis-image]: https://travis-ci.org/whizark/stylelint-cli.svg?branch=master
[travis-url]: https://travis-ci.org/whizark/stylelint-cli