# @stylistic/stylelint-config

> The stylistic shareable config for Stylelint.

Latest version **5.0.0** (published 2026-03-28) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 60/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2026-03-28 |
| First published | 2023-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=20.19.0 |
| Dependencies | 1 |
| Unpacked size | 9.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 24 |
| Author | Sergey Artemov |
| Maintainers | firefoxic |
| Keywords | codeguide, css, csslint, formatting, lint, linter, style, stylelint, stylelint-config, stylistic |

## Links

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

## Dependencies (1)

- [@stylistic/stylelint-plugin](https://npm.io/package/@stylistic/stylelint-plugin.md) ^5.1.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

- 5.0.0 (latest) — 2026-03-28
- 4.0.0 — 2026-01-15
- 3.0.1 — 2025-07-23
- 3.0.0 — 2025-07-23
- 2.0.0 — 2024-07-30
- 1.0.1 — 2023-12-23
- 1.0.0 — 2023-12-23

## README

# Stylelint Stylistic Config

[![License: MIT][license-image]][license-url]
[![Changelog][changelog-image]][changelog-url]
[![NPM version][npm-image]][npm-url]
[![Test Status][test-image]][test-url]

> The stylistic shareable config for Stylelint.

Use it to return to your config the 63 stylistic rules [removed in `stylelint-config-standard` 30.0.0](https://github.com/stylelint/stylelint-config-standard/releases/tag/30.0.0), and the one [removed in `stylelint-config-recommended` 10.0.1](https://github.com/stylelint/stylelint-config-recommended/releases/tag/10.0.1).

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

## Installation and usage

Add `@stylistic/stylelint-config` and `stylelint` itself to your project:

```shell
npm add -D @stylistic/stylelint-config stylelint
```

Set your `.stylelintrc.json` to:

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

If you use `stylelint-config-recommended`, `stylelint-config-standard`, or some other config for syntax linting, then list the config names in an array (order matters):

```json
{
	"extends": [
		"stylelint-config-standard",
		"@stylistic/stylelint-config"
	]
}
```

## Rule overrides

If the value of a rule does not suit you, specify that rule in the `"rules"` section with the value you want:

```json
{
	"extends": "@stylistic/stylelint-config",
	"rules": {
		"@stylistic/indentation": "tab"
	}
}
```

You can turn off rules by setting its value to `null`. For example:

```json
{
	"extends": "@stylistic/stylelint-config",
	"rules": {
		"@stylistic/max-line-length": null
	}
}
```

In addition, the config is based on the [`@stylistic/stylelint-plugin`](https://www.npmjs.com/package/@stylistic/stylelint-plugin), which has all 76 stylistic rules [removed in Stylelint 16.0.0](https://github.com/stylelint/stylelint/releases/tag/16.0.0). You can use all these rules, not just the 65 configured in the config. For example:

```json
{
	"extends": "@stylistic/stylelint-config",
	"rules": {
		"@stylistic/at-rule-name-newline-after": "always-multi-line"
	}
}
```

Please refer to [Stylelint docs](https://stylelint.io/user-guide/get-started) for detailed info on using this linter.

## Need more?

ESLint deprecates stylistic rules, too. But you can continue to use them thanks to [ESLint Stylistic](https://eslint.style).

[license-url]: https://github.com/stylelint-stylistic/stylelint-config/blob/main/LICENSE.md
[license-image]: https://img.shields.io/badge/License-MIT-limegreen.svg

[changelog-url]: https://github.com/stylelint-stylistic/stylelint-config/blob/main/CHANGELOG.md
[changelog-image]: https://img.shields.io/badge/Change-log-limegreen

[npm-url]: https://npmjs.org/package/@stylistic/stylelint-config
[npm-image]: https://badge.fury.io/js/@stylistic%2Fstylelint-config.svg

[test-url]: https://github.com/stylelint-stylistic/stylelint-config/actions
[test-image]: https://github.com/stylelint-stylistic/stylelint-config/actions/workflows/test.yaml/badge.svg?branch=main

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