Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
build: format code after generate-types
Browse files Browse the repository at this point in the history
dprint is now applied to DefinitelyTyped (see DefinitelyTyped/DefinitelyTyped@e493ee0)
  • Loading branch information
metonym committed Oct 7, 2023
1 parent 6043490 commit a1a12d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Binary file modified bun.lockb
Binary file not shown.
8 changes: 3 additions & 5 deletions dprint.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"incremental": false,
"typescript": {
"arrowFunction.useParentheses": "preferNone",
"indentWidth": 4,
"lineWidth": 120,
"quoteStyle": "alwaysSingle"
"lineWidth": 120
},
"excludes": ["**/node_modules"],
"plugins": ["https://plugins.dprint.dev/typescript-0.86.1.wasm"]
"excludes": ["**/node_modules", "src/**"],
"plugins": ["https://plugins.dprint.dev/typescript-0.88.1.wasm"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"generate-types": "bun test",
"format": "dprint fmt dist/**/*.d.ts --excludes src/**"
"postgenerate-types": "dprint fmt dist/*.d.ts"
},
"devDependencies": {
"@carbon/icons": "11.28.0",
Expand Down

0 comments on commit a1a12d9

Please sign in to comment.