https://github.com/valtech-commerce/stylelint-config
Opinionated stylelint extendable configs
https://github.com/valtech-commerce/stylelint-config
npm-package pwa-studio salesforce scss stylelint-config
Last synced: about 2 months ago
JSON representation
Opinionated stylelint extendable configs
- Host: GitHub
- URL: https://github.com/valtech-commerce/stylelint-config
- Owner: valtech-commerce
- License: mit
- Created: 2023-02-07T22:10:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T18:19:44.000Z (over 3 years ago)
- Last Synced: 2025-10-04T10:51:33.048Z (9 months ago)
- Topics: npm-package, pwa-studio, salesforce, scss, stylelint-config
- Language: JavaScript
- Homepage:
- Size: 1.87 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
README
# stylelint config
[![npm][npm-badge]][npm-url]
[![npms.io: Score][npmsio-badge]][npmsio-url]
[![libraries.io: SourceRank][librariesio-badge]][librariesio-url]
[![Tests][tests-badge]][tests-url]
[![License: MIT][license-badge]][license-url]
> Opinionated stylelint [extendable config](https://stylelint.io/user-guide/configuration/#extends).
## Rulesets
| Ruleset | Description |
| --------------------------------------- | -------------- |
| **[core](extendable-config/core.yaml)** | **Core rules** |
| [scss](extendable-config/scss.yaml) | SCSS rules |
### Dependency tree
```mermaid
graph TD;
core --> scss
```
## Install
```
$ npm install @valtech-commerce/stylelint-config
```
## Usage
Add some stylelint config to your `.stylelintrc.yaml`:
```yaml
extends: "@valtech-commerce/stylelint-config/[RULESET]"
```
## Specifications
### `core`
#### Used plugins / configuration
- [stylelint-declaration-strict-value](https://github.com/AndyOGo/stylelint-declaration-strict-value) - Enforces variables, functions, keywords for property's values
- [stylelint-order](https://github.com/hudochenkov/stylelint-order) - Order related linting rules
- [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) - stylelint standard rules
### `scss`
#### Used plugins / configuration
- [stylelint-scss](https://github.com/kristerkari/stylelint-scss) - SCSS specific linting rules
- [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss) - stylelint-scss standard rules
## Documentation
See the [Changelog](CHANGELOG.md) to see what has changed.
## Contribute
See the [Contributing Guidelines](CONTRIBUTING.md) for ways to get started.
See the [Support Guide](SUPPORT.md) for ways to get help.
See the [Security Policy](SECURITY.md) for sharing vulnerability reports.
This project has a [Code of Conduct](CODE_OF_CONDUCT.md).
By interacting with this repository, organization, or community you agree to abide by its terms.
## License
[MIT](LICENSE) © [Valtech Canada inc.](https://www.valtech.ca/)
[npm-badge]: https://img.shields.io/npm/v/@valtech-commerce/stylelint-config?style=flat-square
[npmsio-badge]: https://img.shields.io/npms-io/final-score/@valtech-commerce/stylelint-config?style=flat-square
[librariesio-badge]: https://img.shields.io/librariesio/sourcerank/npm/@valtech-commerce/stylelint-config?style=flat-square
[tests-badge]: https://img.shields.io/github/actions/workflow/status/valtech-commerce/stylelint-config/tests.yaml?style=flat-square&branch=main
[license-badge]: https://img.shields.io/badge/license-MIT-green?style=flat-square
[npm-url]: https://www.npmjs.com/package/@valtech-commerce/stylelint-config
[npmsio-url]: https://npms.io/search?q=%40valtech-commerce%2Fstylelint-config
[librariesio-url]: https://libraries.io/npm/@valtech-commerce%2Fstylelint-config
[tests-url]: https://github.com/valtech-commerce/stylelint-config/actions/workflows/tests.yaml?query=branch%3Amain
[license-url]: https://opensource.org/licenses/MIT