dump-stylelint-rules

under constructing


CircleCI

UNDER CONSTRUCTION.

About

Showing current all applied rules of Stylelint.

Motivation

Extending the stylelint rule makes tracking the currently applied rules tiresome. I wanted to check it as one JSON file.

Usage

# for npm scripts
stylelint-rules-dump

Options

--input=<path>, -i <path>

Path to your stylelint config file. Default: Search just under the working directory.

examlpe:

stylelint-rules-dump --input=./.stylelintrc
# or
stylelint-rules-dump --input=./stylelint.config.js
# or
stylelint-rules-dump --input=./package.json

--output=<path>, -o <path>

The path for output json. Default: nope

example:

stylelint-rules-dump --output=./my-rules.json