Skip to content

Commit

Permalink
fix(prettier-config): update globs of ignored files (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusrbrown committed Mar 25, 2024
1 parent 644ed25 commit 0e27722
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 11 deletions.
5 changes: 1 addition & 4 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"access": "public",
"baseBranch": "main",
"bumpVersionsWithWorkspaceProtocolOnly": true,
"changelog": [
"@swisspost/design-system-changelog-github",
{"repo": "bfra-me/works"}
],
"changelog": ["@swisspost/design-system-changelog-github", {"repo": "bfra-me/works"}],
"commit": false,
"fixed": [],
"ignore": [],
Expand Down
5 changes: 5 additions & 0 deletions .changeset/five-beans-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bfra.me/prettier-config": patch
---

Update `files` globs for `overrides1` that use `requirePragma` to ignore files
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

1 change: 0 additions & 1 deletion .prettierrc.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@
"overrides": {
"read-pkg-up@^11": "npm:read-package-up"
}
}
},
"prettier": "@bfra.me/prettier-config"
}
5 changes: 4 additions & 1 deletion packages/prettier-config/prettier.config.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion packages/prettier-config/prettier.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,23 @@ const config: Config = {
'**/lib/**',
'**/coverage/**',
'**/out/**',
'**/.changeset/**',
'**/.idea/**',
'**/.nuxt/**',
'**/.vercel/**',
'**/.vitepress/cache/**',
'**/.vite-inspect/**',
'**/__snapshots__/**',

'**/.changeset/*.md',
'**/CHANGELOG*.md',
'**/changelog*.md',
'**/LICENSE*',
'**/license*',
'**/*.min.*',

'package-lock.json',
'pnpm-lock.yaml',
'yarn.lock',
],
options: {
requirePragma: true,
Expand Down

0 comments on commit 0e27722

Please sign in to comment.