Skip to content

Commit c832660

Browse files
authored
chore: Upgrade Stylelint to the latest version in docs (#21245)
* chore: upgrade stylelint to v15 * chore: upgrade stylelint to v16 * chore: upgrade stylelint to v17 * chore: formatting .stylelintrc.json
1 parent f9f88fc commit c832660

2 files changed

Lines changed: 11 additions & 14 deletions

File tree

‎docs/.stylelintrc.json‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"extends": ["stylelint-config-standard-scss", "stylelint-config-prettier"],
2+
"extends": ["stylelint-config-standard-scss"],
33
"rules": {
44
"alpha-value-notation": "number",
55
"at-rule-empty-line-before": null,
6+
"color-function-alias-notation": "with-alpha",
67
"color-function-notation": "legacy",
78
"custom-property-empty-line-before": null,
89
"custom-property-pattern": null,
@@ -13,21 +14,18 @@
1314
}
1415
],
1516
"declaration-block-no-redundant-longhand-properties": null,
17+
"declaration-property-value-keyword-no-deprecated": null,
1618
"hue-degree-notation": "number",
1719
"no-descending-specificity": null,
18-
"number-leading-zero": null,
19-
"number-no-trailing-zeros": null,
20+
"media-feature-range-notation": "prefix",
21+
"property-no-deprecated": null,
2022
"selector-class-pattern": null,
2123
"value-keyword-case": null
2224
},
2325
"overrides": [
2426
{
2527
"files": ["**/*.html"],
26-
"extends": [
27-
"stylelint-config-html/html",
28-
"stylelint-config-standard",
29-
"stylelint-config-prettier"
30-
]
28+
"extends": ["stylelint-config-html/html", "stylelint-config-standard"]
3129
},
3230
{
3331
"files": ["**/*.scss"],

‎docs/package.json‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,13 @@
4646
"markdown-it-container": "^4.0.0",
4747
"npm-run-all2": "^8.0.0",
4848
"postcss-cli": "^10.0.0",
49-
"postcss-html": "^1.5.0",
49+
"postcss-html": "^2.0.0",
5050
"prismjs": "^1.29.0",
5151
"sass": "^1.85.1",
52-
"stylelint": "^14.13.0",
53-
"stylelint-config-html": "^1.1.0",
54-
"stylelint-config-prettier": "^9.0.5",
55-
"stylelint-config-standard": "^29.0.0",
56-
"stylelint-config-standard-scss": "^5.0.0",
52+
"stylelint": "^17.14.1",
53+
"stylelint-config-html": "^2.0.0",
54+
"stylelint-config-standard": "^40.0.0",
55+
"stylelint-config-standard-scss": "^17.0.0",
5756
"tap-spot": "^1.1.2"
5857
},
5958
"engines": {

0 commit comments

Comments
 (0)