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 8.2.0 to 9.0.0

6

index.js

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

//"/color/": ["inherit", "initial", "unset", "currentColor", "transparent", "/^@/"],
"font-size": ["inherit", "initial", "unset", "0", /var\(--bloko-typography-[a-zA-Z-]+-fontSize\)/],
"font-weight": ["inherit", "initial", "unset", "normal", /var\(--bloko-typography-[a-zA-Z-]+-fontWeight\)/],
"font-size": ["inherit", "initial", "unset", "0", /@bloko-typography-[a-zA-Z-]+-fontSize/],
"font-weight": ["inherit", "initial", "unset", "normal", /@bloko-typography-[a-zA-Z-]+-fontWeight/],
"font-style": ["inherit", "initial", "unset"],
//"z-index": ["inherit", "initial", "unset", "/^@/"]
"font-family": ["inherit", "initial", "unset", "/^@/", /var\(--bloko-typography-[a-zA-Z-]+-fontFamily\)/]
"font-family": ["inherit", "initial", "unset", "/^@/", /@bloko-typography-[a-zA-Z-]+-fontFamily/]
},

@@ -109,0 +109,0 @@ "declaration-property-value-disallowed-list": {

{
"name": "@hh.ru/stylelint-config-hh",
"version": "8.2.0",
"version": "9.0.0",
"description": "HH.ru config for stylelint",

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

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

### 9.0.0
* Запрещено использование css-переменных токенов для свойств типографики (font-size, font-weight, font-family)
* Разрешено использование less-переменных (@bloko-typography-...) для свойств типографики
### 8.2.0

@@ -7,0 +12,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