Skip to content

Commit 03ac4d5

Browse files
committed
chore: pull out meta fixes from #24
1 parent c3d0fb2 commit 03ac4d5

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
ref: master
2828
- name: Format code
2929
run: |
30-
npm install -g dprint
30+
npm ci
3131
mkdir -v -p /home/runner/.cache/dprint/cache
3232
npx dprint fmt --config .github/config/dprint.json
3333
- name: Publish formatted code
@@ -38,7 +38,6 @@ jobs:
3838
git add --all
3939
git commit -m "chore: code formatting"
4040
git push
41-
set -e
4241
4342
# Update plugins and template indexes, along with README.md
4443
update-indexes:

.github/workflows/test.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ jobs:
3636
steps:
3737
- name: Checkout repository
3838
uses: actions/checkout@v4
39-
- name: Format code with dprint
40-
run: |
41-
npm install -g dprint
42-
mkdir -v -p /home/runner/.cache/dprint/cache
43-
npx dprint fmt --config .github/config/dprint.json
4439
- name: Build gh-metrics/metrics:${{ github.head_ref || 'master' }}
4540
env:
4641
GIT_REF: ${{ github.head_ref || 'master' }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ dist
104104
.tern-port
105105

106106
# User settings
107-
settings.json
107+
/settings.json
108108

109109
# Community templates
110110
source/templates/.community

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"dprint.dprint"
4+
]
5+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"editor.defaultFormatter": "dprint.dprint"
3+
}

0 commit comments

Comments
 (0)