Skip to content

Commit

Permalink
chore(deps): update dependency knip to v5.30.2 (prettier#16679)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <[email protected]>
  • Loading branch information
renovate[bot] and fisker authored Sep 18, 2024
1 parent 57f561b commit 73b0de6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,8 @@ jobs:
yarn dedupe --check
working-directory: scripts/tools/eslint-plugin-prettier-internal-rules

- name: Knip
run: yarn lint:knip

- name: Check File Changes
run: echo "Listing changed files:" && git diff --name-only --exit-code && echo "No files changed during lint."
8 changes: 1 addition & 7 deletions knip.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@ export default {
"pages/**/*.js",
"static/**/*.js",
],
ignoreDependencies: [
"docusaurus",
"codemirror",
"highlight.js",
"@babel/preset-react",
],
ignoreBinaries: ["docusaurus-build", "docusaurus-version"],
ignoreDependencies: ["codemirror", "highlight.js", "@babel/preset-react"],
ignore: ["pages/en/**"],
},
"scripts/tools/bundle-test": {},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"jest-snapshot-serializer-ansi": "2.1.0",
"jest-snapshot-serializer-raw": "2.0.0",
"jest-watch-typeahead": "2.2.2",
"knip": "5.30.1",
"knip": "5.30.2",
"magic-string": "0.30.11",
"npm-run-all2": "6.2.3",
"prettier": "3.3.3",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6237,9 +6237,9 @@ __metadata:
languageName: node
linkType: hard

"knip@npm:5.30.1":
version: 5.30.1
resolution: "knip@npm:5.30.1"
"knip@npm:5.30.2":
version: 5.30.2
resolution: "knip@npm:5.30.2"
dependencies:
"@nodelib/fs.walk": "npm:1.2.8"
"@snyk/github-codeowners": "npm:1.1.0"
Expand All @@ -6263,7 +6263,7 @@ __metadata:
bin:
knip: bin/knip.js
knip-bun: bin/knip-bun.js
checksum: 10/20859a9845ef8145fb38173c518d42240f03697af5c5d1abd2ef08d3baaf8314e1c136f7b49859d2d2fd827c9362eb78138b37b61699d97b3e140e3346195ebc
checksum: 10/e46db15b3c2ed18c05656415d07136fbc4b90fd33336da6f4026f8af24c704f06176ad13a47ba0335ea6d6590f36af451ded503763a3378872bb49853ee6ce7d
languageName: node
linkType: hard

Expand Down Expand Up @@ -7412,7 +7412,7 @@ __metadata:
jest-watch-typeahead: "npm:2.2.2"
js-yaml: "npm:4.1.0"
json5: "npm:2.2.3"
knip: "npm:5.30.1"
knip: "npm:5.30.2"
leven: "npm:4.0.0"
lines-and-columns: "npm:2.0.4"
linguist-languages: "npm:7.27.0"
Expand Down

0 comments on commit 73b0de6

Please sign in to comment.