Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Latest commit

 

History

History
37 lines (29 loc) · 1.24 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.24 KB

Quicklint Stylelint

A CLI wrapping a simple stylelint config based on stylelint-config-standard.

The rules/options that differ from the standard:

Installation

Add the package as a dev dependency:

npm i -D github:cbodin/quicklint-stylelint#v1.1.0

Usage

The default behavior is to lint all the .pcss, .css and .vue files in the src/ folder. If any other folders should be used, the search paths can be specified with the --paths argument.

To include both the default src/ folder and a server/ folder, both paths will need to be supplied:

quicklint-stylelint --paths src/,server/

Run npx quicklint-stylelint -h for a list of all options.

A common scenario is to include a test script in your package.json file:

{
  "scripts": {
    "test": "quicklint-stylelint"
  }
}