Commit fa4bcdd
authored
Migrate JS lint and format tooling to Oxlint and Oxfmt (#1249)
This PR migrates the token-2022 JS client from ESLint and Prettier to Oxlint and Oxfmt via the shared @solana-config/oxc package, to align with the other repos in the solana-program org. It adds oxlint.config.ts and oxfmt.config.ts, updates the lint and format scripts and dependencies, drops the now-unused ESLint and Prettier configuration, and pins a Node 24 floor (which the Oxc TypeScript configs require). Codama's JS renderer is given explicit prettier options so that regeneration still produces a zero diff. The remaining source changes are a one-time reformat applying the shared Oxfmt style.1 parent 62b8e05 commit fa4bcdd
91 files changed
Lines changed: 836 additions & 1540 deletions
File tree
- clients/js
- src
- test
- accounts
- extensions
- confidentialMintBurn
- confidentialTransferFee
- confidentialTransfer
- cpiGuard
- defaultAccountState
- groupMemberPointer
- groupPointer
- interestBearingMint
- memoTransfers
- metadataPointer
- nonTransfer
- pausable
- permanentDelegate
- permissionedBurn
- scaledUiAmountMint
- tokenGroup
- tokenMetadata
- transferFee
- transferHook
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
5 | 20 | | |
6 | | - | |
7 | 21 | | |
| 22 | + | |
8 | 23 | | |
9 | | - | |
10 | 24 | | |
11 | 25 | | |
12 | 26 | | |
| |||
19 | 33 | | |
20 | 34 | | |
21 | 35 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
27 | 40 | | |
28 | 41 | | |
29 | 42 | | |
30 | 43 | | |
31 | 44 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
36 | 49 | | |
37 | 50 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 51 | | |
62 | 52 | | |
63 | 53 | | |
64 | 54 | | |
65 | 55 | | |
| 56 | + | |
66 | 57 | | |
67 | | - | |
68 | 58 | | |
69 | 59 | | |
70 | 60 | | |
71 | 61 | | |
72 | 62 | | |
73 | 63 | | |
74 | 64 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
79 | 68 | | |
80 | 69 | | |
81 | 70 | | |
82 | 71 | | |
83 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
0 commit comments