Skip to content

Commit b4148c4

Browse files
chore(deps-dev): bump lint-staged from 15.2.11 to 15.3.0 (#3463)
* chore(deps-dev): bump lint-staged from 15.2.11 to 15.3.0 Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.2.11 to 15.3.0. - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v15.2.11...v15.3.0) --- updated-dependencies: - dependency-name: lint-staged dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * build: update config tooling to resolve lint-staged correctly --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: [ Cassondra ] <[email protected]>
1 parent bdc7626 commit b4148c4

File tree

5 files changed

+29
-15
lines changed

5 files changed

+29
-15
lines changed

.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ Icon?
1919
Thumbs.db
2020
*~
2121
*.swp
22+
23+
# Test files
24+
plugins/*/expected/*.css
25+
plugins/*/fixtures/*.css

.stylelintignore

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ dist
88
*-generated.css
99

1010
node_modules/**/*.css
11-
plugins/*/expected/*
12-
plugins/*/fixtures/*
11+
12+
# Test files
13+
plugins/*/expected/*.css
14+
plugins/*/fixtures/*.css

lint-staged.config.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
module.exports = {
2-
"*.css,!plugins/*/{expected,fixtures}/*.css": [
3-
"prettier --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write",
2+
"*.css": [
3+
"stylelint --fix --cache --allow-empty-input --report-descriptionless-disables --report-invalid-scope-disables --report-needless-disables",
4+
"prettier --no-config --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc",
45
],
56
"*.{js,json}": [
67
"eslint --fix --cache --no-error-on-unmatched-pattern --quiet --ignore-pattern \"!.storybook/\""
78
],
89
"dist/*.css": [
9-
"prettier --no-config --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write"
10+
"prettier --no-config --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc"
1011
],
1112
"components/*/metadata/metadata.json": (files) => {
1213
return [
1314
...(files.map(file => `pajv test --valid -s ./schemas/metadata.schema.json -d "${file}"`) ?? []),
14-
`prettier --no-config --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write ${files.join(" ")}`
15+
`prettier --no-config --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write ${files.join(" ")} --config .prettierrc`
1516
];
1617
},
1718
"*.{md,mdx}": [
18-
"prettier --no-config --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write"
19+
"prettier --no-config --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc"
1920
]
2021
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"gh-pages": "^6.2.0",
8383
"husky": "^9.1.7",
8484
"jsonc-eslint-parser": "^2.4.0",
85-
"lint-staged": "^15.2.11",
85+
"lint-staged": "^15.3.0",
8686
"lodash": "^4.17.21",
8787
"node-gyp": "^10.1.0",
8888
"npm-registry-fetch": "^18.0.2",

yarn.lock

+14-7
Original file line numberDiff line numberDiff line change
@@ -6695,13 +6695,20 @@ __metadata:
66956695
languageName: node
66966696
linkType: hard
66976697

6698-
"chalk@npm:^5.3.0, chalk@npm:~5.3.0":
6698+
"chalk@npm:^5.3.0":
66996699
version: 5.3.0
67006700
resolution: "chalk@npm:5.3.0"
67016701
checksum: 10c0/8297d436b2c0f95801103ff2ef67268d362021b8210daf8ddbe349695333eb3610a71122172ff3b0272f1ef2cf7cc2c41fdaa4715f52e49ffe04c56340feed09
67026702
languageName: node
67036703
linkType: hard
67046704

6705+
"chalk@npm:~5.4.1":
6706+
version: 5.4.1
6707+
resolution: "chalk@npm:5.4.1"
6708+
checksum: 10c0/b23e88132c702f4855ca6d25cb5538b1114343e41472d5263ee8a37cccfccd9c4216d111e1097c6a27830407a1dc81fecdf2a56f2c63033d4dbbd88c10b0dcef
6709+
languageName: node
6710+
linkType: hard
6711+
67056712
"change-case@npm:^4.1.2":
67066713
version: 4.1.2
67076714
resolution: "change-case@npm:4.1.2"
@@ -11459,11 +11466,11 @@ __metadata:
1145911466
languageName: node
1146011467
linkType: hard
1146111468

11462-
"lint-staged@npm:^15.2.11":
11463-
version: 15.2.11
11464-
resolution: "lint-staged@npm:15.2.11"
11469+
"lint-staged@npm:^15.3.0":
11470+
version: 15.3.0
11471+
resolution: "lint-staged@npm:15.3.0"
1146511472
dependencies:
11466-
chalk: "npm:~5.3.0"
11473+
chalk: "npm:~5.4.1"
1146711474
commander: "npm:~12.1.0"
1146811475
debug: "npm:~4.4.0"
1146911476
execa: "npm:~8.0.1"
@@ -11475,7 +11482,7 @@ __metadata:
1147511482
yaml: "npm:~2.6.1"
1147611483
bin:
1147711484
lint-staged: bin/lint-staged.js
11478-
checksum: 10c0/28e2ad08b90460cc18398a023eaf93954d7753f958c2b889ead2d9305407d7b4ef0ee007875410d6ce1df758007fda77e079c82eb79c9ce684fba71e6f7d0452
11485+
checksum: 10c0/1ddf9488c523c0b65c85b755428d4ad74fac3aa6ccb2e28e9bff5b8d86503158fe241d20d5433a11146872050b43580644901a5ef4c924b1ad7017c224a07339
1147911486
languageName: node
1148011487
linkType: hard
1148111488

@@ -15678,7 +15685,7 @@ __metadata:
1567815685
gh-pages: "npm:^6.2.0"
1567915686
husky: "npm:^9.1.7"
1568015687
jsonc-eslint-parser: "npm:^2.4.0"
15681-
lint-staged: "npm:^15.2.11"
15688+
lint-staged: "npm:^15.3.0"
1568215689
lodash: "npm:^4.17.21"
1568315690
node-gyp: "npm:^10.1.0"
1568415691
npm-registry-fetch: "npm:^18.0.2"

0 commit comments

Comments
 (0)