Skip to content

Commit b370820

Browse files
authored
Merge pull request #822 from fuhlig/stylelint-16.9.0
Stylelint 16.9.0
2 parents 904ae63 + da24e00 commit b370820

File tree

7 files changed

+5020
-6342
lines changed

7 files changed

+5020
-6342
lines changed

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx --no-install commitlint --edit $1

package-lock.json

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

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
"prepare": "husky install"
2626
},
2727
"devDependencies": {
28-
"@babel/core": "7.24.4",
29-
"@babel/node": "7.23.9",
30-
"@babel/preset-env": "7.24.4",
31-
"@babel/register": "7.23.7",
32-
"@commitlint/cli": "17.4.2",
33-
"@commitlint/config-conventional": "17.4.2",
28+
"@babel/core": "7.25.2",
29+
"@babel/node": "7.25.0",
30+
"@babel/preset-env": "7.25.4",
31+
"@babel/register": "7.24.6",
32+
"@commitlint/cli": "19.5.0",
33+
"@commitlint/config-conventional": "19.5.0",
3434
"eslint": "8.33.0",
3535
"eslint-config-standard": "17.0.0",
3636
"eslint-config-stylelint": "21.0.0",
@@ -40,13 +40,13 @@
4040
"eslint-plugin-node": "11.1.0",
4141
"eslint-plugin-promise": "6.1.1",
4242
"eslint-plugin-standard": "5.0.0",
43-
"husky": "9.0.11",
44-
"lerna": "6.4.1",
43+
"husky": "9.1.6",
44+
"lerna": "8.1.8",
4545
"lodash": "4.17.21",
46-
"stylelint": "16.7.0",
46+
"stylelint": "16.9.0",
4747
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
4848
"stylelint-find-new-rules": "5.0.0",
4949
"stylelint-order": "6.0.4",
50-
"stylelint-scss": "6.2.1"
50+
"stylelint-scss": "6.7.0"
5151
}
5252
}

packages/stylelint-config-copilot-base/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,9 @@ module.exports = {
602602
// Specify a pattern for custom media query names.
603603
'custom-media-pattern': null,
604604

605+
// Disallow unknown custom media queries.
606+
'no-unknown-custom-media': null,
607+
605608
// Require or disallow an empty line before custom properties (Autofixable).
606609
'custom-property-empty-line-before': null,
607610

packages/stylelint-config-copilot-plugins/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"license": "MIT",
2121
"dependencies": {
2222
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
23-
"stylelint-declaration-strict-value": "1.10.4",
23+
"stylelint-declaration-strict-value": "1.10.6",
2424
"stylelint-high-performance-animation": "1.10.0"
2525
},
2626
"peerDependencies": {

packages/stylelint-config-copilot-scss/index.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ module.exports = {
103103
// Specify list of allowed file extensions for partial names in @import commands.
104104
'scss/at-import-partial-extension-allowed-list': null,
105105

106-
// Require or disallow extension in @import commands.
107-
'scss/at-import-partial-extension': null,
106+
// Require or disallow extension in @import, @use, @forward, and [meta.load-css] commands.
107+
'scss/load-partial-extension': null,
108108

109109
/* ------------------------------------*\
110110
#AT-MIXINS
@@ -130,6 +130,9 @@ module.exports = {
130130
// Specify a pattern for Sass/SCSS-like mixin names.
131131
'scss/at-mixin-pattern': null,
132132

133+
// Disallow risky nesting selectors within a mixin.
134+
'scss/at-mixin-no-risky-nesting-selector': null,
135+
133136
/* ------------------------------------*\
134137
#AT-RULE
135138
\*------------------------------------ */
@@ -311,6 +314,9 @@ module.exports = {
311314
// Disallow nested properties of the same "namespace" be divided into multiple groups.
312315
'scss/declaration-nested-properties-no-divided-groups': true,
313316

317+
// Disallow unknown values for properties within declarations.
318+
'scss/declaration-property-value-no-unknown': true,
319+
314320
/* ------------------------------------*\
315321
#MEDIA-FEATURE
316322
\*------------------------------------ */

packages/stylelint-config-copilot-scss/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"license": "MIT",
2121
"dependencies": {
2222
"postcss-scss": "4.0.9",
23-
"stylelint-scss": "6.2.1"
23+
"stylelint-scss": "6.7.0"
2424
},
2525
"peerDependencies": {
2626
"stylelint": "^16.0.0"

0 commit comments

Comments
 (0)