# @avenga/stylelint-config

> Avenga's stylelint rules and config

Latest version **3.0.0** (published 2022-02-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @avenga/stylelint-config
pnpm add @avenga/stylelint-config
yarn add @avenga/stylelint-config
bun add @avenga/stylelint-config
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2022-02-17 |
| First published | 2020-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Avenga |
| Maintainers | marclud, falsanu, fabianmebus, frederik.berg |
| Keywords | avenga, css, scss, sass, config, lint, linting, linter, frontend, stylelint, stylelint-config |

## Links

- npm: https://www.npmjs.com/package/@avenga/stylelint-config
- Repository: https://github.com/avenga/stylelint-config
- Homepage: https://github.com/avenga/stylelint-config#readme
- Issues: https://github.com/avenga/stylelint-config/issues
- npm.io page: https://npm.io/package/@avenga/stylelint-config

## Dependencies (1)

- [stylelint-config-standard-scss](https://npm.io/package/stylelint-config-standard-scss.md) 3.0.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2022-02-17
- 2.0.0 — 2022-02-17
- 1.1.0 — 2022-02-16
- 1.0.0 — 2020-08-27

## README

# Avenga's Stylelint Config

[![npm version](http://img.shields.io/npm/v/@avenga/stylelint-config.svg)](https://www.npmjs.org/package/@avenga/stylelint-config)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](/CONTRIBUTING.md)
[![Downloads per month](https://img.shields.io/npm/dm/@avenga/stylelint-config.svg)](https://npmcharts.com/compare/@avenga/stylelint-config)

This config extends the [`stylelint-config-standard-scss` shared config](https://github.com/stylelint-scss/stylelint-config-standard-scss) 
and configures its own rules.

To see the rules that this config uses, please read the [config itself](/index.js).

## Installation

Install [stylelint](https://stylelint.io/) and `@avenga/stylelint-config`:

```shell
npm install --save-dev stylelint @avenga/stylelint-config 
```

## Usage

stylelint expects a configuration object. If your project already has one, just reference `@avenga/stylelint-config`
with `extends`.

```json
{
  "extends": "@avenga/stylelint-config"
} 
```
 
If you need to add a stylelint configuration object to your project, there are 
[different approaches](https://stylelint.io/user-guide/configure).
One popular approach is to add a `.stylelintrc.js` file to the root of your project. 

```js
// .stylelintrc.js

module.exports = {
  extends: '@avenga/stylelint-config',
};
```

It is possible to [overwrite rules](https://stylelint.io/user-guide/configure#extends) to meet your project specific 
needs. 

### Stylelint Editor Plugins

- [Atom](https://atom.io/packages/linter-stylelint)
- [vim](https://github.com/vim-syntastic/syntastic/blob/master/syntax_checkers/css/stylelint.vim)
- [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
- [Sublime Text](https://github.com/SublimeLinter/SublimeLinter-stylelint)
- [WebStorm](https://www.jetbrains.com/help/webstorm/using-stylelint-code-quality-tool.html)

---
_Source: https://npm.io/package/@avenga/stylelint-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
