Socket
Socket
Sign inDemoInstall

stylelint-disallow-vendor-prefix

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-disallow-vendor-prefix

Stylelint plugin to disallow vendor prefixes for given properties


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

stylelint-disallow-vendor-prefix

Disallow vendor prefixes for given properties

Installation

npm install stylelint-disallow-vendor-prefix --save-dev

Usage

// .stylelintrc
{
  "plugins": [
    "stylelint-disallow-vendor-prefix"
  ],
  "rules": {
    "plugin/stylelint-disallow-vendor-prefix":{ true,properties:["/transform/","animation/"] },
  }
}

The following patterns are considered violations:

.a{-webkit-transform-origin:top;-webkit-animation:myanim;}

Options

{true ,properties:["array", "of", "unprefixed properties", /or/, "/regex/"]}

FAQs

Package last updated on 07 Jun 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc