Skip to content

Commit 181cb7f

Browse files
committed
chore: use prettier everywhere (aep-dev#75)
To simplify the usage of prettier, use it on all files. Also ran it on all existing files to ensure linting passes.
1 parent 4299734 commit 181cb7f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/build-and-publish-protos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
with:
2020
buf_token: ${{ secrets.BUF_TOKEN }}
2121
input: common-components/proto
22-
draft: ${{ github.ref_name != 'main'}}
22+
draft: ${{ github.ref_name != 'main'}}

.github/workflows/lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v3
1313
- name: Install prettier.
14-
run: npm install --global prettier
14+
run: npm install --global prettier@3.0.3
1515
- name: Verify proper formatting.
16-
run: prettier --check **/*.md **/*.md.j2
16+
run: prettier --check .

common-components/json_schema/decimal.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ description: |
1414
as well as that of a `decimal64`.
1515
type: object
1616
required:
17-
- significand
18-
- exponent
17+
- significand
18+
- exponent
1919
additionalProperties: false
2020
properties:
2121
significand:

common-components/json_schema/money.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ description: |
1111
`{"currency_code": "X-BTC", "quantity": {"significand": 15, "exponent": -1}}`
1212
type: object
1313
required:
14-
- currency_code
15-
- quantity
14+
- currency_code
15+
- quantity
1616
additionalProperties: false
1717
properties:
1818
currency_code:

common-components/proto/buf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ lint:
88
- DEFAULT
99
except:
1010
- PACKAGE_VERSION_SUFFIX
11-
enum_zero_value_suffix: _UNSPECIFIED
11+
enum_zero_value_suffix: _UNSPECIFIED

0 commit comments

Comments
 (0)