Skip to content

Commit c49bf3f

Browse files
committed
re-lint and add the proper lint-staged config
1 parent aaa8d1e commit c49bf3f

File tree

7 files changed

+36
-2
lines changed

7 files changed

+36
-2
lines changed

apps/example-dapp/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,12 @@
5151
"vite": "^7.1.1",
5252
"vite-plugin-node-polyfills": "^0.22.0",
5353
"vite-tsconfig-paths": "^5.1.4"
54+
},
55+
"lint-staged": {
56+
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
57+
"biome check --write",
58+
"eslint --fix --cache"
59+
],
60+
"*.{json,jsonc,html}": "biome format --write"
5461
}
5562
}

apps/example-dapp/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const solanaClient = createSolanaClient({
4343
function App() {
4444
const wallets = useMemo(
4545
() => [new PhantomWalletAdapter(), new SolflareWalletAdapter()],
46-
[]
46+
[],
4747
);
4848

4949
return (

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
},
5454
"packageManager": "[email protected]",
5555
"lint-staged": {
56-
"*.{md,yml,yaml}": "prettier --write",
5756
"*.{json,jsonc,html}": "biome format --write"
5857
},
5958
"dependencies": {

packages/dataloader-es/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,12 @@
4040
"eslint": "catalog:",
4141
"typescript": "catalog:",
4242
"vitest": "catalog:"
43+
},
44+
"lint-staged": {
45+
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
46+
"biome check --write",
47+
"eslint --fix --cache"
48+
],
49+
"*.{json,jsonc,html}": "biome format --write"
4350
}
4451
}

packages/grill/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,12 @@
3737
},
3838
"peerDependencies": {
3939
"react": "^18.0.0 || ^19.0.0"
40+
},
41+
"lint-staged": {
42+
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
43+
"biome check --write",
44+
"eslint --fix --cache"
45+
],
46+
"*.{json,jsonc,html}": "biome format --write"
4047
}
4148
}

packages/solana-batch-accounts-loader/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,12 @@
4949
},
5050
"peerDependencies": {
5151
"@solana/kit": "catalog:"
52+
},
53+
"lint-staged": {
54+
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
55+
"biome check --write",
56+
"eslint --fix --cache"
57+
],
58+
"*.{json,jsonc,html}": "biome format --write"
5259
}
5360
}

packages/wallet-adapter-compat/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,12 @@
5454
"@tanstack/react-query": "catalog:",
5555
"react": "catalog:",
5656
"react-dom": "catalog:"
57+
},
58+
"lint-staged": {
59+
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
60+
"biome check --write",
61+
"eslint --fix --cache"
62+
],
63+
"*.{json,jsonc,html}": "biome format --write"
5764
}
5865
}

0 commit comments

Comments
 (0)