Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stylelint-config-vast

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-config-vast

Stylelint shareable config for Vast's CSS coding standards

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
39
decreased by-25%
Maintainers
2
Weekly downloads
 
Created
Source

stylelint-config-vast

Stylelint shareable config for Vast's CSS coding standards

npm version

Installation

npm install stylelint-config-vast --save-dev

Usage

Create a .stylelintrc file in the root of your project and add your settings and overrides there:

{
  "extends": "stylelint-config-vast",
  "rules": {
    "indentation": null
  },
  "ignoreFiles": "css/vendor/**/*.css",
}

Setting up stylelint

If you haven’t already set up stylelint on your project, run:

npm install stylelint --save-dev

Add "stylelint" to "scripts" in package.json (wrap globstar pattern with single quotes):

"scripts": {
    "stylelint": "stylelint 'css/**/*.css'",
}

...and then you can run:

npm run stylelint

To add a Git pre-commit hook for stylelint, run:

npm install pre-commit --save-dev

...and add this to package.json:

"pre-commit": [
  "stylelint"
]

License

MIT © 2022 Vast.com, Inc.

Keywords

FAQs

Package last updated on 12 Jan 2022

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