Skip to content

Commit 814dac2

Browse files
committed
Update dependencies
1 parent 98ab2a7 commit 814dac2

File tree

4 files changed

+27
-9
lines changed

4 files changed

+27
-9
lines changed

.stylelintrc.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ plugins:
99

1010
rules:
1111

12+
# Specify percentage or number notation for alpha-values.
13+
alpha-value-notation: number
14+
1215
# Specify a blacklist of disallowed at-rules.
1316
at-rule-blacklist:
1417
- debug
@@ -89,6 +92,9 @@ rules:
8992
# Require a single space or disallow whitespace before the opening brace of blocks.
9093
block-opening-brace-space-before: always
9194

95+
# Specify modern or legacy notation for applicable color-functions.
96+
color-function-notation: legacy
97+
9298
# Specify lowercase or uppercase for hexadecimal color values.
9399
color-hex-case: lower
94100

@@ -120,7 +126,7 @@ rules:
120126
#custom-media-pattern:
121127

122128
# Require or disallow an empty line before custom properties (Autofixable).
123-
custom-property-empty-line-before: never
129+
custom-property-empty-line-before: always
124130

125131
# Specify a pattern for custom properties.
126132
#custom-property-pattern:
@@ -254,6 +260,9 @@ rules:
254260
# Require or disallow whitespace after functions.
255261
function-whitespace-after: always
256262

263+
# Specify number or angle notation for degree hues.
264+
hue-degree-notation: angle
265+
257266
# Specify indentation.
258267
indentation: 4
259268

@@ -1028,6 +1037,9 @@ rules:
10281037
# Disallow unknown at-rules. Should be used instead of stylelint's `at-rule-no-unknown`.
10291038
scss/at-rule-no-unknown: true
10301039

1040+
# Disallow empty comments.
1041+
scss/comment-no-empty: true
1042+
10311043
# Require a newline after the colon in `$`-variable declarations.
10321044
scss/dollar-variable-colon-newline-after: always-multi-line
10331045

@@ -1043,6 +1055,12 @@ rules:
10431055
# Disallow duplicate dollar variables within a stylesheet.
10441056
scss/no-duplicate-dollar-variables: true
10451057

1058+
# Disallow duplicate mixins within a stylesheet.
1059+
scss/no-duplicate-mixins: true
1060+
1061+
# Disallows the use of global function names, as these global functions are now located inside built-in Sass modules.
1062+
scss/no-global-function-names: true
1063+
10461064
# Disallow linebreaks after Sass operators.
10471065
scss/operator-no-newline-after: true
10481066

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"url": "https://github.com/philwareham/textpattern-classic-admin-theme/issues"
2525
},
2626
"devDependencies": {
27-
"autoprefixer": "9.7.4",
27+
"autoprefixer": "9.8.0",
2828
"cssnano": "4.1.10",
2929
"grunt": "1.1.0",
3030
"grunt-cli": "1.3.2",
@@ -36,12 +36,12 @@
3636
"grunt-contrib-watch": "1.1.0",
3737
"grunt-postcss": "0.9.0",
3838
"grunt-sass": "3.1.0",
39-
"grunt-stylelint": "0.14.0",
39+
"grunt-stylelint": "0.15.0",
4040
"load-grunt-tasks": "5.1.0",
41-
"sass": "1.26.2",
42-
"stylelint": "13.2.0",
41+
"sass": "1.26.5",
42+
"stylelint": "13.5.0",
4343
"stylelint-order": "4.0.0",
44-
"stylelint-scss": "3.14.2",
44+
"stylelint-scss": "3.17.2",
4545
"uglify-save-license": "0.4.1"
4646
},
4747
"dependencies": {
@@ -51,7 +51,7 @@
5151
"scrollspy-js": "0.1.3"
5252
},
5353
"optionalDependencies": {
54-
"fibers": "4.0.2"
54+
"fibers": "5.0.0"
5555
},
5656
"browserslist": [
5757
"> 0.5%",

src/assets/sass/modules/_code-highlighting.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pre[class*="language-"] {
6363
.token.url,
6464
.language-css .token.string,
6565
.style .token.string {
66-
background: hsla(0, 0%, 100%, 0.5);
66+
background: hsla(0deg, 0%, 100%, 0.5);
6767
color: #a67f59;
6868
}
6969

src/assets/sass/modules/_links.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ a {
8686
[dir="rtl"] .txp-skip-link {
8787
right: 1px;
8888
left: auto;
89-
}
89+
}

0 commit comments

Comments
 (0)