diff --git a/.stylelintrc b/.stylelintrc index b21fdbd..6a4e2b6 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -108,6 +108,9 @@ "no-unknown-animations": true, "shorthand-property-no-redundant-values": true, "declaration-block-single-line-max-declarations": 1, + "unit-disallowed-list": [ + "%" + ], "value-keyword-case": [ "lower", { @@ -162,11 +165,14 @@ ], "no-descending-specificity": null, "max-nesting-depth": [ - 3, + 2, { "ignore": [ "blockless-at-rules", "pseudo-classes" + ], + "ignoreAtRules": [ + "media" ] } ], diff --git a/CHANGELOG.md b/CHANGELOG.md index 2513800..90bc424 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ -### [Unreleased] +### 2.5.4: 2023-06-01 * Add rule `"number-leading-zero": "never",` +* Disallow using of percents +* Make default nesting depth 2 +* Add ignoreAtRules to nesting rules ### 2.5.3: 2023-02-15 diff --git a/package.json b/package.json index 68127de..b228fe6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "PROJECTNAME", - "version": "2.5.3", + "version": "2.5.4", "description": "PROJECTNAME powered by dudestack + devpackages", "author": "Digitoimisto Dude Oy (moro@dude.fi)", "devDependencies": { @@ -67,4 +67,4 @@ "webpack": "^5.75.0", "webpack-stream": "^7.0.0" } -} +} \ No newline at end of file