From 58e683c669e5d1c63c3690dbd9c85bf0feee1721 Mon Sep 17 00:00:00 2001 From: Brian Bowman Date: Mon, 11 Jul 2022 18:50:51 -0500 Subject: [PATCH] Add format and lint scripts --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cc5729e..897563a 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,9 @@ "test": "react-scripts test", "eject": "react-scripts eject", "tauri": "tauri", - "start:dev": "tauri dev" + "start:dev": "tauri dev", + "format": "cargo fmt --manifest-path ./src-tauri/Cargo.toml --all", + "lint": "cargo clippy --manifest-path ./src-tauri/Cargo.toml --no-default-features && yarn tsc --noEmit && yarn eslint src" }, "eslintConfig": { "extends": [