From 7a0f9dfa44f9c3d76a7a8b3909bd1cd07a81e6e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 14:20:25 +0000 Subject: [PATCH] Bump prettier from 3.1.1 to 3.2.4 (#1394) * Bump prettier from 3.1.1 to 3.2.4 Bumps [prettier](https://github.com/prettier/prettier) from 3.1.1 to 3.2.4. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.1.1...3.2.4) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Format+ESLint config change Reformat jsonc files in accordance with the new version of Prettier. Update the ESLint configuration accordingly, changing the options for `eslint-plugin-jsonc` to disable the jsonc/comma-dangle rule because now it will be handled automatically for JSONC files by Prettier and for normal JSON files they're illegal anyway. --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Eric Cornelissen --- config/eslint.yml | 5 +---- config/knip.jsonc | 4 ++-- package-lock.json | 8 ++++---- package.json | 2 +- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/config/eslint.yml b/config/eslint.yml index b00611330..35bd19b96 100644 --- a/config/eslint.yml +++ b/config/eslint.yml @@ -602,10 +602,7 @@ overrides: jsonc/array-bracket-newline: off jsonc/array-bracket-spacing: off jsonc/array-element-newline: off - jsonc/comma-dangle: - - error - - arrays: never - objects: never + jsonc/comma-dangle: off jsonc/comma-style: - error - last diff --git a/config/knip.jsonc b/config/knip.jsonc index cf1fe7380..3a0ce772f 100644 --- a/config/knip.jsonc +++ b/config/knip.jsonc @@ -6,11 +6,11 @@ "ignore": [ "src/modules/index.d.ts", "src/modules/stateless.d.ts", - "src/modules/testing.d.ts" + "src/modules/testing.d.ts", ], "ignoreBinaries": [], "ignoreDependencies": ["@gitlab-org/jsfuzz"], "eslint": ["config/eslint.yml"], "rollup": ["config/rollup.js"], - "stryker": ["config/stryker/*.js"] + "stryker": ["config/stryker/*.js"], } diff --git a/package-lock.json b/package-lock.json index be5830dc9..b74afd0f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "lockfile-lint": "4.12.1", "markdownlint-cli": "0.38.0", "nve": "17.0.0", - "prettier": "3.1.1", + "prettier": "3.2.4", "publint": "0.2.7", "rollup": "4.9.5", "shescape-previous": "npm:shescape@2.1.0", @@ -11284,9 +11284,9 @@ } }, "node_modules/prettier": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", - "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz", + "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" diff --git a/package.json b/package.json index cef8f2f0a..932ae7074 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "lockfile-lint": "4.12.1", "markdownlint-cli": "0.38.0", "nve": "17.0.0", - "prettier": "3.1.1", + "prettier": "3.2.4", "publint": "0.2.7", "rollup": "4.9.5", "shescape-previous": "npm:shescape@2.1.0",