Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pepeeja/stylelint-config
Stylelint project setup for CSS and SCSS
https://github.com/pepeeja/stylelint-config
css scss stylelint stylelint-config
Last synced: about 2 months ago
JSON representation
Stylelint project setup for CSS and SCSS
- Host: GitHub
- URL: https://github.com/pepeeja/stylelint-config
- Owner: pepeeja
- License: mit
- Created: 2022-08-24T16:58:37.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-01T17:30:30.000Z (over 2 years ago)
- Last Synced: 2024-10-08T19:12:49.151Z (3 months ago)
- Topics: css, scss, stylelint, stylelint-config
- Language: JavaScript
- Homepage:
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @pepeeja/stylelint-config
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/pepeeja/stylelint-config/blob/main/LICENSE) [![npm latest package](https://img.shields.io/npm/v/@pepeeja/stylelint-config/latest.svg)](https://www.npmjs.com/package/@pepeeja/stylelint-config)
Stylelint setup for projects
## Install
```shell
// with npm
npm install @pepeeja/stylelint-config// with yarn
yarn add @pepeeja/stylelint-config
```## Usage
Stylelint configuration has several options based on used environment. You can find list of available configurations below.
### Standard
Create `.stylelintrc` file in the root directory of your project with the following content:
```json
{
"extends": "@pepeeja/stylelint-config"
}
```### SCSS
To apply SCSS specific rules there is additional configuration which is inherited from standard one.
Create `.stylelintrc` file in the root directory of your project with the following content:```json
{
"extends": "@pepeeja/stylelint-config/scss"
}
```## License
This project is licensed under the terms of the [MIT License](LICENSE)