Skip to content

Commit

Permalink
Prettier 3.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Jan 28, 2024
1 parent 2629a8e commit d739f91
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ plugins:
- prettier-plugin-java

overrides:
- files: "tsconfig.json"
options:
parser: "json"
# java rules:
- files: "*.java"
options:
Expand Down
5 changes: 4 additions & 1 deletion generators/common/__snapshots__/generator.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,12 @@ bracketSameLine: false
plugins:
- prettier-plugin-packagejson
- prettier-plugin-java
# java rules:
overrides:
- files: "tsconfig.json"
options:
parser: "json"
- files: "*.java"
options:
tabWidth: 4
Expand Down
7 changes: 6 additions & 1 deletion generators/common/templates/.prettierrc.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ plugins:
- prettier-plugin-packagejson
<%_ if (backendTypeJavaAny) { _%>
- prettier-plugin-java
<%_ } _%>

# java rules:
overrides:
- files: "tsconfig.json"
options:
parser: "json"
<%_ if (backendTypeJavaAny) { _%>
- files: "*.java"
options:
tabWidth: 4
Expand Down
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 @@ -154,7 +154,7 @@
"p-transform": "4.1.5",
"parse-gitignore": "2.0.0",
"pluralize": "8.0.0",
"prettier": "3.2.2",
"prettier": "3.2.4",
"prettier-plugin-java": "2.5.0",
"prettier-plugin-packagejson": "2.4.9",
"prettier-plugin-properties": "0.3.0",
Expand Down

0 comments on commit d739f91

Please sign in to comment.