# stylelint-value-list-box-shadow-inset-first

> Stylelint rule for checking if box-shadow inset values are first in list.

Latest version **3.3.1** (published 2026-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install stylelint-value-list-box-shadow-inset-first
pnpm add stylelint-value-list-box-shadow-inset-first
yarn add stylelint-value-list-box-shadow-inset-first
bun add stylelint-value-list-box-shadow-inset-first
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.3.1 |
| Published | 2026-09-10 |
| First published | 2016-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12 \|\| >=16 |
| Dependencies | 1 |
| Unpacked size | 18.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ivan Nikolić |
| Maintainers | niksy |
| Keywords | box-shadow, inset, stylelint-plugin |

## Links

- npm: https://www.npmjs.com/package/stylelint-value-list-box-shadow-inset-first
- Repository: https://github.com/niksy/stylelint-value-list-box-shadow-inset-first
- Homepage: https://github.com/niksy/stylelint-value-list-box-shadow-inset-first#readme
- Issues: https://github.com/niksy/stylelint-value-list-box-shadow-inset-first/issues
- npm.io page: https://npm.io/package/stylelint-value-list-box-shadow-inset-first

## Dependencies (1)

- [postcss-value-parser](https://npm.io/package/postcss-value-parser.md) ^4.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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 3.3.1 (latest) — 2026-09-10
- 3.3.0 — 2026-09-10
- 3.2.0 — 2025-06-12
- 3.1.1 — 2024-02-26
- 3.1.0 — 2023-08-24
- 3.0.0 — 2021-10-22
- 2.0.1 — 2018-07-26
- 2.0.0 — 2018-07-26
- 1.0.1 — 2016-06-26
- 1.0.0 — 2016-06-26

## README

# stylelint-value-list-box-shadow-inset-first

[![Build Status][ci-img]][ci]

Stylelint rule for checking if box-shadow inset values are first in list.

## Install

```sh
npm install stylelint-value-list-box-shadow-inset-first --save-dev
```

## Usage

Add this config to your `.stylelintrc`:

```json
{
	"plugins": [
		"stylelint-value-list-box-shadow-inset-first"
	],
	"rules": [
		"plugin/value-list-box-shadow-inset-first": true
	]
}
```

## Details

<!-- prettier-ignore-start -->

```css
a { box-shadow: inset 1px 1px 1px #fff, 2px 2px 2px rgba(0,0,0,1), inset 3px 3px 3px red; }
/**                                                                ↑
 * Inset value group is not positioned in correct order */
```

<!-- prettier-ignore-end -->

### Options

#### `true`

The following pattern is considered warning:

<!-- prettier-ignore-start -->

```css
a { box-shadow: inset 1px 1px 1px #fff, 2px 2px 2px rgba(0,0,0,1), inset 3px 3px 3px red; }
```

<!-- prettier-ignore-end -->

The following pattern is _not_ considered warning:

<!-- prettier-ignore-start -->

```css
a { box-shadow: inset 1px 1px 1px #fff, inset 3px 3px 3px red, 2px 2px 2px rgba(0,0,0,1); }
```

<!-- prettier-ignore-end -->

---

## License

MIT © [Ivan Nikolić](http://ivannikolic.com)

<!-- prettier-ignore-start -->

[ci]: https://github.com/niksy/stylelint-value-list-box-shadow-inset-first/actions?query=workflow%3ACI
[ci-img]: https://github.com/niksy/stylelint-value-list-box-shadow-inset-first/actions/workflows/ci.yml/badge.svg?branch=master

<!-- prettier-ignore-end -->

---
_Source: https://npm.io/package/stylelint-value-list-box-shadow-inset-first · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
