Skip to content

Commit 7bc8c8b

Browse files
committed
Fix prettier
1 parent 319b386 commit 7bc8c8b

File tree

2 files changed

+24
-20
lines changed

2 files changed

+24
-20
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"test": "jest --config jestconfig.json",
1414
"build": "tsc",
15-
"format": "prettier --write \"src/**/*.ts\"",
15+
"format": "prettier --write \"src/**/*.{ts,json}\"",
1616
"lint": "tslint -p tsconfig.json",
1717
"prepare": "npm run build",
1818
"prepublishOnly": "npm test && npm run lint",

src/anchor/idl.json

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -411,18 +411,20 @@
411411
{
412412
"name": "programDataAccount",
413413
"isMut": false,
414-
"isSigner": false
414+
"isSigner": false
415415
},
416416
{
417417
"name": "permissionsAccount",
418418
"isMut": true,
419419
"isSigner": false,
420420
"pda": {
421-
"seeds": [{
422-
"kind": "const",
423-
"type": "string",
424-
"value": "permissions"
425-
}]
421+
"seeds": [
422+
{
423+
"kind": "const",
424+
"type": "string",
425+
"value": "permissions"
426+
}
427+
]
426428
}
427429
},
428430
{
@@ -431,18 +433,20 @@
431433
"isSigner": false
432434
}
433435
],
434-
"args": [ {
435-
"name": "masterAuthority",
436-
"type": "publicKey"
437-
},
438-
{
439-
"name": "dataCurationAuthority",
440-
"type": "publicKey"
441-
},
442-
{
443-
"name": "securityAuthority",
444-
"type": "publicKey"
445-
}]
436+
"args": [
437+
{
438+
"name": "masterAuthority",
439+
"type": "publicKey"
440+
},
441+
{
442+
"name": "dataCurationAuthority",
443+
"type": "publicKey"
444+
},
445+
{
446+
"name": "securityAuthority",
447+
"type": "publicKey"
448+
}
449+
]
446450
}
447451
]
448-
}
452+
}

0 commit comments

Comments
 (0)