Skip to content

Commit 2317f0d

Browse files
committed
tests
1 parent 3dd64d4 commit 2317f0d

Some content is hidden

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

53 files changed

+1836
-1764
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
pnpm exec biome check --staged --no-errors-on-unmatched

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Thanks for your interest in helping! This project is an experimental Solana SDK,
1818

1919
1. Create a feature branch from `main`.
2020
2. Run `pnpm format`, `pnpm lint`, `pnpm typecheck`, and `pnpm test` before submitting.
21+
- A Husky pre-commit hook automatically runs `pnpm exec biome check --staged --no-errors-on-unmatched` so commits only land when Biome formatting and lint checks pass.
2122
3. Keep changes focused; open separate PRs for unrelated fixes.
2223
4. Write tests when adding or modifying functionality.
2324
5. Open a pull request with a clear summary and note any follow-up work.

biome.json

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.4/schema.json",
3-
"formatter": {
4-
"enabled": true,
5-
"lineWidth": 120,
6-
"indentWidth": 4
7-
},
8-
"linter": {
9-
"enabled": true,
10-
"rules": {
11-
"suspicious": {
12-
"noUnknownAtRules": "off"
13-
}
14-
}
15-
},
16-
"javascript": {
17-
"formatter": {
18-
"quoteStyle": "single",
19-
"indentWidth": 4,
20-
"lineWidth": 120
21-
}
22-
},
23-
"css": {
24-
"parser": {
25-
"tailwindDirectives": true
26-
}
27-
}
2+
"$schema": "https://biomejs.dev/schemas/2.3.4/schema.json",
3+
"formatter": {
4+
"enabled": true,
5+
"lineWidth": 120,
6+
"indentWidth": 4
7+
},
8+
"files": {
9+
"includes": ["**/*", "!!coverage", "!!**/.turbo", "!!**/dist"]
10+
},
11+
"linter": {
12+
"enabled": true,
13+
"rules": {
14+
"suspicious": {
15+
"noUnknownAtRules": "off"
16+
}
17+
}
18+
},
19+
"javascript": {
20+
"formatter": {
21+
"quoteStyle": "single",
22+
"indentWidth": 4,
23+
"lineWidth": 120
24+
}
25+
},
26+
"css": {
27+
"parser": {
28+
"tailwindDirectives": true
29+
}
30+
}
2831
}

examples/client-core-vanilla/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/client-core-vanilla/README.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

examples/client-core-vanilla/index.html

Lines changed: 0 additions & 205 deletions
This file was deleted.

examples/client-core-vanilla/package.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

examples/client-core-vanilla/src/balance.js

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)