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

stylelint-config-hudochenkov

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-config-hudochenkov

My Stylelint config

  • 7.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.5K
decreased by-2.83%
Maintainers
1
Weekly downloads
 
Created
Source

stylelint-config-hudochenkov

My configs for Stylelint. Uses rules from stylelint-order and stylelint-scss.

Available configs:

  • stylelint-config-hudochenkov — default config which includes rules from Stylelint core only.
  • stylelint-config-hudochenkov/dollar-variables — config for $dollar-variables. Uses stylelint-scss.
  • stylelint-config-hudochenkov/order — config for order of content within declaration blocks and properties order. Uses stylelint-order.
  • stylelint-config-hudochenkov/full — combines all configs together and includes:
    • stylelint-config-hudochenkov
    • stylelint-config-hudochenkov/dollar-variables
    • stylelint-config-hudochenkov/order

Installation

Install config:

npm install --save-dev stylelint-config-hudochenkov

If you're using stylelint-config-hudochenkov/dollar-variables or stylelint-config-hudochenkov/full, install additional plugin:

npm install --save-dev stylelint-scss

If you're using stylelint-config-hudochenkov/order or stylelint-config-hudochenkov/full, install additional plugin:

npm install --save-dev stylelint-order

Note: Additional plugins not listed as peerDependencies, because not every project need them. npm will shows warning after each npm install if not all peerDependencies are installed, even if they are not used.

Usage

Add chosen config to the extends section of your Stylelint configuration:

{
	"extends": ["stylelint-config-hudochenkov"]
}
{
	"extends": ["stylelint-config-hudochenkov/full"]
}

Recommended to run Stylelint with --max-warnings flag, because most of the rules has warning severity:

stylelint "**/*.css" --max-warnings 0

FAQs

Package last updated on 18 Apr 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