Skip to content

Commit

Permalink
update prettier and plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus committed Sep 8, 2023
1 parent b9fa456 commit 2fb53b1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ repos:
hooks:
- id: prettier
additional_dependencies:
- prettier@2.8.8
- prettier-plugin-sort-json@1.0.0
- prettier@3.0.3
- prettier-plugin-sort-json@3.0.1
exclude_types:
- python
- repo: https://github.com/adrienverge/yamllint.git
Expand Down
3 changes: 0 additions & 3 deletions .prettierrc

This file was deleted.

5 changes: 5 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import("prettier").Config} */
module.exports = {
plugins: [require.resolve("prettier-plugin-sort-json")],
jsonRecursiveSort: true,
};

0 comments on commit 2fb53b1

Please sign in to comment.