Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use prettier everywhere #75

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-protos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
with:
buf_token: ${{ secrets.BUF_TOKEN }}
input: common-components/proto
draft: ${{ github.ref_name != 'main'}}
draft: ${{ github.ref_name != 'main'}}
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install prettier.
run: npm install --global prettier
run: npm install --global prettier@3.0.3
- name: Verify proper formatting.
run: prettier --check **/*.md **/*.md.j2
run: prettier --check .
4 changes: 2 additions & 2 deletions common-components/json_schema/decimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ description: |
as well as that of a `decimal64`.
type: object
required:
- significand
- exponent
- significand
- exponent
additionalProperties: false
properties:
significand:
Expand Down
4 changes: 2 additions & 2 deletions common-components/json_schema/money.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ description: |
`{"currency_code": "X-BTC", "quantity": {"significand": 15, "exponent": -1}}`
type: object
required:
- currency_code
- quantity
- currency_code
- quantity
additionalProperties: false
properties:
currency_code:
Expand Down
2 changes: 1 addition & 1 deletion common-components/proto/buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ lint:
- DEFAULT
except:
- PACKAGE_VERSION_SUFFIX
enum_zero_value_suffix: _UNSPECIFIED
enum_zero_value_suffix: _UNSPECIFIED