You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

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

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

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

3.2.0
latest
Source
npmnpm
Version published
Weekly downloads
773
-19.65%
Maintainers
1
Weekly downloads
 
Created
Source

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

Build Status

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

Install

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

Usage

Add this config to your .stylelintrc:

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

Details

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 */

Options

true

The following pattern is considered warning:

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

The following pattern is not considered warning:

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

License

MIT © Ivan Nikolić

Keywords

box-shadow

FAQs

Package last updated on 12 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts