diff --git a/.eslintignore b/.eslintignore index 415700026..9a1058ea3 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,5 @@ node_modules packages/wasm/rust/**/* packages/wasm/src/pkg/* +**/*.spec.ts +**/*.test.ts \ No newline at end of file diff --git a/package.json b/package.json index 8870077c2..d10948f9f 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,8 @@ "show:affected": "npx nx show projects --affected --uncommitted", "gen:local-network-context": "bun run packages/networks/src/networks/vNaga/envs/naga-local/scripts/00-generate-abi-signatures.ts", "prettier": "npx nx format:write --all", + "lint": "npx nx run-many --target=lint --all", + "lint:fix": "npx nx run-many --target=lint --all -- --fix", "format:check": "npx nx format:check --all", "link-all": "for dir in packages/*/; do echo \"Linking in $dir\"; (cd \"$dir\" && bun link) || { echo \"ERROR: Failed to link in $dir\"; exit 1; }; done", "unlink-all": "for dir in packages/*/; do echo \"Unlinking in $dir\"; (cd \"$dir\" && bun unlink) || { echo \"ERROR: Failed to unlink in $dir\"; exit 1; }; done",