https://github.com/jenssimon/stylelint-config
A collection of shareable Stylelint configurations
https://github.com/jenssimon/stylelint-config
commercecloud demandware salesforce sfcc sfra stylelint stylelintconfig
Last synced: 7 months ago
JSON representation
A collection of shareable Stylelint configurations
- Host: GitHub
- URL: https://github.com/jenssimon/stylelint-config
- Owner: jenssimon
- License: mit
- Created: 2019-02-15T07:32:20.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T11:54:01.000Z (8 months ago)
- Last Synced: 2024-10-29T13:33:05.447Z (8 months ago)
- Topics: commercecloud, demandware, salesforce, sfcc, sfra, stylelint, stylelintconfig
- Language: JavaScript
- Homepage:
- Size: 294 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![NPM version][npm-image]][npm-url] [![Downloads][npm-downloads-image]][npm-url] [![star this repo][gh-stars-image]][gh-url] [![fork this repo][gh-forks-image]][gh-url] [![Build Status][gh-status-image]][gh-url]
# stylelint-config
> A collection of shareable Stylelint configurations
## Installation
```sh
$ yarn add @jenssimon/stylelint-config --dev
```## Configurations
### Default configuration
This configuration targets projects using Sass. It is based on [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard#readme).
```json
{
"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.
```json
{
"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),
```json
{
"extends": [
"@jenssimon/stylelint-config/sfra"
]
}
```## License
MIT © 2023 [Jens Simon](https://github.com/jenssimon)
[npm-url]: https://www.npmjs.com/package/@jenssimon/stylelint-config
[npm-image]: https://badgen.net/npm/v/@jenssimon/stylelint-config
[npm-downloads-image]: https://badgen.net/npm/dw/@jenssimon/stylelint-config[gh-url]: https://github.com/jenssimon/stylelint-config
[gh-stars-image]: https://badgen.net/github/stars/jenssimon/stylelint-config
[gh-forks-image]: https://badgen.net/github/forks/jenssimon/stylelint-config
[gh-status-image]: https://github.com/jenssimon/stylelint-config/actions/workflows/ci.yml/badge.svg
[gh-status-url]: https://github.com/jenssimon/stylelint-config/actions/workflows/ci.yml