# @drmartingonzo/stylelint-config

> my own wip stylelint config

Latest version **0.0.6** (published 2020-11-25) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2020-11-25 |
| First published | 2020-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Martin Portevin |
| Maintainers | drmartingonzo |

## Links

- npm: https://www.npmjs.com/package/@drmartingonzo/stylelint-config
- npm.io page: https://npm.io/package/@drmartingonzo/stylelint-config

## Dependencies (3)

- [stylelint-order](https://npm.io/package/stylelint-order.md) ^4.0.0
- [stylelint-config-prettier](https://npm.io/package/stylelint-config-prettier.md) ^8.0.1
- [stylelint-config-rational-order](https://npm.io/package/stylelint-config-rational-order.md) ^0.1.2

## Recent versions

- 0.0.6 (latest) — 2020-11-25
- 0.0.4 — 2020-04-27
- 0.0.3 — 2020-04-27
- 0.0.2 — 2020-04-27
- 0.0.1 — 2020-04-19

## README

# @drmartingonzo/stylelint-config

> Personal wip stylelint config.

Extends [`stylelint-config-rational-order`](https://github.com/constverum/stylelint-config-rational-order).

## Installation

```bash
npm install @drmartingonzo/eslint-config --save-dev
```

## Usage

If you've installed `@drmartingonzo/stylelint-config` locally within your project, just set your `stylelint` config to:

```json
{
  "extends": "@drmartingonzo/stylelint-config"
}
```

If you've globally installed `@drmartingonzo/stylelint-config` using the `-g` flag, then you'll need to use the absolute path to `@drmartingonzo/stylelint-config` in your config e.g.

```json
{
  "extends": "/absolute/path/to/@drmartingonzo/stylelint-config"
}
```

Since [stylelint 9.7.0](https://github.com/stylelint/stylelint/blob/9.7.0/CHANGELOG.md#970), you can simply use the globally installed configuration name instead of the absolute path:

```json
{
  "extends": "@drmartingonzo/stylelint-config"
}
```

### Extending the config

Simply add a `"rules"` key to your config, then add your overrides and additions there.

For example, to change the `at-rule-no-unknown` rule to use its `ignoreAtRules` option, change the `indentation` to tabs, turn off the `number-leading-zero` rule,and add the `unit-whitelist` rule:

```json
{
  "extends": "@drmartingonzo/stylelint-config",
  "rules": {
    "at-rule-no-unknown": [
      true,
      {
        "ignoreAtRules": ["extends", "ignores"]
      }
    ],
    "indentation": "tab",
    "number-leading-zero": null,
    "unit-whitelist": ["em", "rem", "s"]
  }
}
```

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