Skip to content

Commit f1ee393

Browse files
committed
Add Prettier configuration and update package.json scripts for formatting
1 parent 6e2f05d commit f1ee393

66 files changed

Lines changed: 9373 additions & 9209 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"semi": true,
3+
"singleQuote": false,
4+
"trailingComma": "all",
5+
"tabWidth": 2,
6+
"printWidth": 80,
7+
"arrowParens": "always",
8+
"endOfLine": "auto"
9+
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@
1515
"clean": "pnpm -r exec rimraf dist node_modules",
1616
"watch:core": "pnpm --filter '@lista-dao/moolah-sdk-core' run build --watch",
1717
"version": "changeset version",
18-
"release": "changeset version && pnpm build && pnpm -r --filter './packages/*' exec pnpm publish --access public --no-git-checks"
18+
"release": "changeset version && pnpm build && pnpm -r --filter './packages/*' exec pnpm publish --access public --no-git-checks",
19+
"format": "prettier --write \"packages/*/src/**/*.ts\"",
20+
"format:check": "prettier --check \"packages/*/src/**/*.ts\""
1921
},
2022
"devDependencies": {
2123
"@changesets/cli": "^2.27.1",
24+
"prettier": "^3.2.5",
2225
"rimraf": "^5.0.5",
2326
"typescript": "^5.2.2"
2427
},

packages/moolah-lending-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"prepublishOnly": "pnpm build"
2727
},
2828
"dependencies": {
29-
"@lista-dao/moolah-sdk-core": "workspace:*",
29+
"@lista-dao/moolah-sdk-core": "workspace:^",
3030
"@morpho-org/blue-sdk": "^1.1.1",
3131
"viem": "^2.22.10"
3232
},

0 commit comments

Comments
 (0)