@hh.ru/stylelint-config-hh
Advanced tools
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
15830
101
0
303