Skip to content

Commit 4659b4f

Browse files
committed
chore(deps): upgrade linters
1 parent 65bfcfb commit 4659b4f

File tree

8 files changed

+36
-22
lines changed

8 files changed

+36
-22
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,4 @@ dist/
8686

8787
# Editors #
8888
###########
89-
.vscode/
9089
/.idea

.stylelintrc

+2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
"customSyntax": "postcss-less",
44
"rules": {
55
"at-rule-no-unknown": null,
6+
"at-rule-prelude-no-invalid": null,
67
"function-no-unknown": null,
78
"no-invalid-double-slash-comments": null,
89
"rule-empty-line-before": null,
910
"at-rule-empty-line-before": null,
1011
"declaration-empty-line-before": null,
12+
"declaration-property-value-no-unknown": null,
1113
"selector-pseudo-element-colon-notation": "single",
1214
"no-descending-specificity": null,
1315
"no-invalid-position-at-import-rule": null,

.vscode/extensions.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"recommendations": [
3-
"stylelint.vscode-stylelint"
4-
]
3+
"dbaeumer.vscode-eslint",
4+
"stylelint.vscode-stylelint",
5+
"vitest.explorer"
6+
],
57
}

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"stylelint.validate": [
3+
"less",
4+
]
5+
}

lib/atomic/typography.less

+2
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ p {
222222

223223
// -- Break word
224224
.break-word {
225+
// DEPRECATED: https://developer.mozilla.org/en-US/docs/Web/CSS/word-break
226+
/* stylelint-disable-next-line declaration-property-value-keyword-no-deprecated */
225227
word-break: break-word !important;
226228
overflow-wrap: break-word !important;
227229
-webkit-hyphens: auto !important;

lib/exports/mixins.less

+2-1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
// Will automatically add various local()s to try using already-installed
9696
// fonts before downloading.
9797
// ---------------------------------------------------------------------------
98+
/* stylelint-disable at-rule-descriptor-value-no-unknown */
9899
.font-face(@family, @path, @weight, @style) {
99100
@font-face {
100101
font-family: "@{family}";
@@ -108,7 +109,7 @@
108109
}
109110
}
110111
}
111-
112+
/* stylelint-enable at-rule-descriptor-value-no-unknown */
112113

113114
/**
114115
* Focus styles for the given context.

package-lock.json

+18-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"eleventy-plugin-highlightjs": "^1.1.0",
7272
"eleventy-plugin-nesting-toc": "^1.3.0",
7373
"eslint": "^9.24.0",
74-
"eslint-config-prettier": "^9.1.0",
74+
"eslint-config-prettier": "^10.1.1",
7575
"eslint-plugin-no-unsanitized": "^4.1.2",
7676
"jquery": "^3.7.1",
7777
"less-loader": "^12.2.0",
@@ -83,8 +83,8 @@
8383
"prettier": "^3.5.3",
8484
"rollup-plugin-postcss": "^4.0.2",
8585
"stylelint": "^16.18.0",
86-
"stylelint-config-recommended": "^14.0.1",
87-
"stylelint-config-standard": "^36.0.1",
86+
"stylelint-config-recommended": "^16.0.0",
87+
"stylelint-config-standard": "^38.0.0",
8888
"terser-webpack-plugin": "^5.3.14",
8989
"ts-loader": "^9.5.2",
9090
"typescript": "^5.8.3",

0 commit comments

Comments
 (0)