Skip to content

Commit

Permalink
chore: Use prettier v4
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Dec 26, 2023
1 parent 4766832 commit eff18d8
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fetch-latest-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: "(AUTO) Update data"
title: "🤖 Update data"
commit-message: '(AUTO) Update data'
title: '🤖 Update data'
body: Automatically fetch latest data from GitHub, GitLab, NPM and Publint.
branch: ci-update-data
add-paths: src/lib/data/github.json,src/lib/data/gitlab.json,src/lib/data/npm.json,src/lib/data/publint.json
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
static/**
build/**
node_modules/**
pnpm-lock.yaml
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"sync": "svelte-kit sync",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"test": "vitest",
"lint": "prettier --check ./**/*.{js,cjs,ts,css,md,svx,svelte,html,json} && eslint . && node scripts/validateData.js",
"format": "prettier --write ./**/*.{js,cjs,ts,css,md,svx,svelte,html,json}"
"lint": "prettier --check '**/*' --ignore-unknown && eslint . && node scripts/validateData.js",
"format": "prettier --write '**/*' --ignore-unknown"
},
"devDependencies": {
"@macfja/svelte-persistent-store": "2.4.1",
Expand All @@ -35,7 +35,7 @@
"mdsvex": "^0.11.0",
"package-name-regex": "^3.1.1",
"pako": "^2.1.0",
"prettier": "^3.1.1",
"prettier": "^4.0.0-alpha.8",
"prettier-plugin-svelte": "^3.1.2",
"publint": "^0.2.6",
"rehype-slug": "^6.0.0",
Expand Down
Loading

0 comments on commit eff18d8

Please sign in to comment.