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 5.0.0 to 6.0.0

13

index.js

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

"property-disallowed-list": ["font", "font-size", "font-weight", "font-style"],
"property-disallowed-list": ["font"],
"property-case": "lower",

@@ -100,13 +100,8 @@ "property-no-unknown": true,

"declaration-no-important": true,
/*
"declaration-property-value-allowed-list": {
"line-height": []
},
*/
"declaration-property-value-allowed-list": {
//"/color/": ["inherit", "initial", "unset", "currentColor", "transparent", "/^@/"],
"font-weight": ["inherit", "initial", "unset", "bold", "normal", "800", "/^@/"],
"font-style": ["inherit", "initial", "unset", "italic", "normal", "/^@/"],
"font-size": ["inherit", "initial", "unset", "0"],
"font-weight": ["inherit", "initial", "unset", "normal"],
"font-style": ["inherit", "initial", "unset"],
//"z-index": ["inherit", "initial", "unset", "/^@/"]
//"font-size": ["inherit", "initial", "unset", "/^@/"]
"font-family": ["inherit", "initial", "unset", "/^@/"]

@@ -113,0 +108,0 @@ },

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

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

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

### 6.0.0
Разрешил обратно CSS-правила `font-size`, `font-weight` и `font-family`, но только с разрешенными значениями:
* font-size: inherit, initial, unset, 0;
* font-weight: inherit, initial, unset, normal;
* font-style: inherit, initial, unset;
### 5.0.0

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