You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@hh.ru/stylelint-config-hh

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 7.0.0

plugins/hhru/index.js

9

index.js

@@ -9,3 +9,3 @@ const HEX_REGEX = new RegExp(/#[\da-f]{3,6}/);

"stylelint-order",
"./plugins/stylelint-at-variable-pattern"
"./plugins/hhru"
],

@@ -293,4 +293,9 @@ "rules": {

// @kebab-case-variables-only
"hh/at-variable-pattern": "^[a-z]+[a-z0-9]*(?:-[a-z0-9]+)*$",
"hhru/less-variable-name-pattern": "^_?[a-z]+[a-z0-9]*(?:-[a-z0-9]+)*$",
// no colors in variables
"hhru/less-variable-value-disallowed-list": {
'*': [HEX_REGEX, RGBA_REGEX, HSLA_REGEX],
}
},
};
{
"name": "@hh.ru/stylelint-config-hh",
"version": "6.0.0",
"version": "7.0.0",
"description": "HH.ru config for stylelint",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,2 +5,8 @@ # stylelint конфиг HH.ru

### 7.0.0
Добавлено правило less-variable-value-disallowed-list, позволяющее запретить некоторые значения для less-переменных
Исправлено и переименовано правило at-variable-pattern, теперь оно называется less-variable-name-pattern
Оба правила вынесены в один плагин, неймспейс изменен с hh на hhru
### 6.0.0

@@ -7,0 +13,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc