Skip to content

Commit fb21434

Browse files
authored
Merge pull request #2057 from hashicorp/upgrade-stylelint
Upgrade `stylelint` dependencies
2 parents 5e54785 + f60fe1d commit fb21434

File tree

6 files changed

+198
-245
lines changed

6 files changed

+198
-245
lines changed

packages/components/.stylelintrc.js

-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ module.exports = {
2424
// see: https://stylelint.io/user-guide/rules/list/declaration-empty-line-before/
2525
'declaration-empty-line-before': null,
2626

27-
// we've agreed to not enforce a limit on the lines lenght (we embed SVGs so very long strings + plus modern browsers can esily soft-wrap code)
28-
// see: https://stylelint.io/user-guide/rules/list/max-line-length/
29-
'max-line-length': null,
30-
3127
// we've decided to disable this rule because we want to be able to order our declarations based on different criteria, if/when needed
3228
// see: https://stylelint.io/user-guide/rules/list/no-descending-specificity/
3329
'no-descending-specificity': null,

packages/components/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@
8686
"rollup-plugin-copy": "^3.5.0",
8787
"rollup-plugin-scss": "^4.0.0",
8888
"rollup-plugin-ts": "^3.4.5",
89-
"stylelint": "^15.11.0",
89+
"stylelint": "^16.3.1",
9090
"stylelint-config-rational-order": "^0.1.2",
91-
"stylelint-config-standard-scss": "^11.1.0",
91+
"stylelint-config-standard-scss": "^13.1.0",
9292
"typescript": "^5.3.3"
9393
},
9494
"peerDependencies": {

showcase/.stylelintrc.js

-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ module.exports = {
2424
// see: https://stylelint.io/user-guide/rules/list/declaration-empty-line-before/
2525
'declaration-empty-line-before': null,
2626

27-
// we've agreed to not enforce a limit on the lines lenght (we embed SVGs so very long strings + plus modern browsers can esily soft-wrap code)
28-
// see: https://stylelint.io/user-guide/rules/list/max-line-length/
29-
'max-line-length': null,
30-
3127
// we've decided to disable this rule because we want to be able to order our declarations based on different criteria, if/when needed
3228
// see: https://stylelint.io/user-guide/rules/list/no-descending-specificity/
3329
'no-descending-specificity': null,

showcase/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@
9999
"qunit-dom": "^3.0.0",
100100
"sass": "^1.69.5",
101101
"sinon": "^17.0.0",
102-
"stylelint": "^15.11.0",
102+
"stylelint": "^16.3.1",
103103
"stylelint-config-rational-order": "^0.1.2",
104-
"stylelint-config-standard-scss": "^11.1.0",
104+
"stylelint-config-standard-scss": "^13.1.0",
105105
"typescript": "^5.4.2",
106106
"webpack": "^5.89.0"
107107
},

website/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@
120120
"remark-rehype": "^11.0.0",
121121
"resolve": "^1.22.8",
122122
"showdown": "^2.1.0",
123-
"stylelint": "^15.11.0",
123+
"stylelint": "^16.3.1",
124124
"stylelint-config-rational-order": "^0.1.2",
125-
"stylelint-config-standard-scss": "^11.1.0",
125+
"stylelint-config-standard-scss": "^13.1.0",
126126
"unist-util-remove": "^4.0.0",
127127
"unist-util-select": "^5.1.0",
128128
"unist-util-visit": "^5.0.0",

0 commit comments

Comments
 (0)