Skip to content

Commit

Permalink
add cargo fmt and clippy to scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Aug 12, 2023
1 parent e57a962 commit 8257d7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"artifacts": "napi artifacts",
"build": "napi build --platform --release solana-bankrun --dts internal.d.ts --js internal.js",
"build:debug": "napi build --platform solana-bankrun",
"fmt": "rome format --write solana-bankrun/index.ts tests/ jest.config.ts tsconfig.json package.json",
"lint": "rome check solana-bankrun/index.ts tests/ jest.config.ts tsconfig.json package.json",
"fmt": "cargo fmt && rome format --write solana-bankrun/index.ts tests/ jest.config.ts tsconfig.json package.json",
"lint": "cargo clippy && rome check solana-bankrun/index.ts tests/ jest.config.ts tsconfig.json package.json",
"prepublishOnly": "napi prepublish -t npm",
"test": "RUST_LOG= jest --runInBand",
"tsc": "tsc",
Expand Down

0 comments on commit 8257d7d

Please sign in to comment.