Skip to content
Shareable stylelint configuration for Pangolin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.eslintrc
.gitignore
CHANGELOG.md
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

Pangolin stylelint config

NPM version Dependencies JavaScript Standard Style

Shareable stylelint config for Pangolin based on stylelint-config-sass-guidelines.

Installation

yarn add -D @pangolin/stylelint-config
# or
npm install @pangolin/stylelint-config --save-dev

Usage

Create a stylelint configuration with the following content:

{
  "extends": "@pangolin/stylelint-config"
}

Extending

Overwrite any rule from this config:

{
  "extends": "@pangolin/stylelint-config",
  "rules": {
    "number-leading-zero": null
  }
}

stylelint has an extensive list of rules. Additional rules are provided by the following plugins:

Configured rules

This config sets a few extra rules in addition to the ones from stylelint-config-sass-guidelines:

You can’t perform that action at this time.