mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 15:44:35 +01:00
Add format and lint scripts
This commit is contained in:
@@ -27,7 +27,9 @@
|
|||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"tauri": "tauri",
|
"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": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
|
|||||||
Reference in New Issue
Block a user