Skip to content

Commit 42c5ea6

Browse files
authored
feat: reduce normalize.css specificity with @layer (#44)
* chore: update stylelint rules * chore: update composer dependencies * chore: update gulp setup * feat: reduce normalize.css specificity with @layer * chore: update package dependencies
1 parent befce2b commit 42c5ea6

File tree

7 files changed

+6819
-4807
lines changed

7 files changed

+6819
-4807
lines changed

.stylelintrc.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,30 @@
3232
],
3333
"scss/comment-no-empty": null,
3434
"scss/dollar-variable-empty-line-before": null,
35-
"scss/dollar-variable-pattern": null,
36-
"scss/double-slash-comment-empty-line-before": null
35+
"scss/double-slash-comment-empty-line-before": null,
36+
"@stylistic/selector-list-comma-newline-after": null
3737
},
3838
"overrides": [
3939
{
4040
"files": ["src/scss/wordpress/*.scss"],
4141
"rules": {
42+
"alpha-value-notation": null,
4243
"comment-empty-line-before": null,
4344
"comment-whitespace-inside": null,
44-
"no-duplicate-selectors": [
45+
"declaration-block-no-redundant-longhand-properties": [
4546
true,
4647
{
47-
"severity": "warning"
48+
"ignoreShorthands": ["inset", "margin", "margin-inline"]
4849
}
4950
],
50-
"rule-empty-line-before": null
51+
"declaration-empty-line-before": null,
52+
"declaration-property-value-disallowed-list": null,
53+
"max-nesting-depth": null,
54+
"rule-empty-line-before": null,
55+
"selector-max-id": null,
56+
"selector-not-notation": null,
57+
"selector-no-qualifying-type": null,
58+
"scss/dollar-variable-pattern": null
5159
}
5260
}
5361
]

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"wpackagist-plugin/favicon-by-realfavicongenerator": "^1.3.30",
2929
"wpackagist-plugin/imagify": "^2.2.2",
3030
"wpackagist-plugin/imsanity": "^2.8.4",
31-
"wpackagist-plugin/svg-support": "^2.5.5",
32-
"wpackagist-plugin/wordpress-seo": "^22.9",
31+
"wpackagist-plugin/svg-support": "^2.5.7",
32+
"wpackagist-plugin/wordpress-seo": "^23.1",
3333
"wpackagist-plugin/wp-sweep": "^1.1.8"
3434
}
3535
}

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)