/stylelint-config

A collection of shareable Stylelint configurations

Primary LanguageJavaScriptMIT LicenseMIT

NPM version Downloads star this repo fork this repo Build Status

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 © 2023 Jens Simon