Skip to content

Commit

Permalink
Update nesting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Jun 1, 2023
1 parent b946a3a commit 0ff7218
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
{
Expand Down Expand Up @@ -162,11 +165,14 @@
],
"no-descending-specificity": null,
"max-nesting-depth": [
3,
2,
{
"ignore": [
"blockless-at-rules",
"pseudo-classes"
],
"ignoreAtRules": [
"media"
]
}
],
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -67,4 +67,4 @@
"webpack": "^5.75.0",
"webpack-stream": "^7.0.0"
}
}
}

0 comments on commit 0ff7218

Please sign in to comment.