@jenssimon/stylelint-config

A collection of shareable Stylelint configurations

Usage no npm install needed!

<script type="module">
  import jenssimonStylelintConfig from 'https://cdn.skypack.dev/@jenssimon/stylelint-config';
</script>

README

NPM version Downloads star this repo]gh-url fork this repo Build Status Code Style

stylelint-config

A collection of shareable Stylelint configurations

Installation

$ yarn add @jenssimon/stylelint-config --dev

Configurations

Default configuration

This configuration targets projects using Sass. It is based on stylelint-config-standard.

{
  "extends": [
    "@jenssimon/stylelint-config"
  ]
}

Optionally you can enable style order and use @jenssimon/stylelint-config/order.

Base configuration

This configuration is the Default configuration without the rules for Sass in the default configuration.

{
  "extends": [
    "@jenssimon/stylelint-config/base"
  ]
}

For style order use @jenssimon/stylelint-config/base-order.

SFRA configuration

This is the configuration for the Salesforce Commerce Cloud (SFCC) Storefront Reference Architecture (SFRA),

{
  "extends": [
    "@jenssimon/stylelint-config/sfra"
  ]
}

License

MIT © 2021 Jens Simon