Skip to content

Commit

Permalink
feat: Format json files using prettier
Browse files Browse the repository at this point in the history
Bug: N/A
Change-Id: I48bae7ba86f7d51bce48375307a23aac1b06ba06
GitOrigin-RevId: dddd3c7a4da8cde6aabd5a01767365702e2a2e09
  • Loading branch information
Privacy Sandbox Team authored and copybara-github committed Nov 8, 2024
1 parent b427c2f commit 5de5b80
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 433 deletions.
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,14 @@ repos:
rev: v3.1.0
hooks:
- id: prettier
name: prettier markdown and javascript
name: prettier markdown, javascript and json
types_or:
- markdown
- javascript
- json
exclude: (?x)^(
.*-lock\.json
)$

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.7.1
Expand Down
26 changes: 7 additions & 19 deletions src/core/config_provider/resources/test_config.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
{
"server-ip": "10.10.10.20",
"server-run": true,
"buffer-length": 5000,
"string-list": [
"1",
"2"
],
"int-list": [
1,
2
],
"size-list": [
3,
4
],
"bool-list": [
true,
false
]
"server-ip": "10.10.10.20",
"server-run": true,
"buffer-length": 5000,
"string-list": ["1", "2"],
"int-list": [1, 2],
"size-list": [3, 4],
"bool-list": [true, false]
}
Loading

0 comments on commit 5de5b80

Please sign in to comment.