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

Pre-configured Stylelint using stylelint-config-standard as a base, packaged in a simple CLI

Notifications You must be signed in to change notification settings

cbodin/quicklint-stylelint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
  }
}

About

Pre-configured Stylelint using stylelint-config-standard as a base, packaged in a simple CLI

Resources

Stars

Watchers

Forks

Packages

No packages published