Skip to content

Commit

Permalink
Bump prettier from 3.1.1 to 3.2.4 (#1394)
Browse files Browse the repository at this point in the history
* 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](prettier/prettier@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] <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Cornelissen <[email protected]>
  • Loading branch information
dependabot[bot] and ericcornelissen authored Jan 18, 2024
1 parent 22d623d commit 7a0f9df
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
5 changes: 1 addition & 4 deletions config/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions config/knip.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
}
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:[email protected]",
Expand Down

0 comments on commit 7a0f9df

Please sign in to comment.