Skip to content

Commit a0de75b

Browse files
committed
chore(eslint): update .eslintignore to exclude test files and add linting scripts to package.json
1 parent a2e3afe commit a0de75b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
node_modules
22
packages/wasm/rust/**/*
33
packages/wasm/src/pkg/*
4+
**/*.spec.ts
5+
**/*.test.ts

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"show:affected": "npx nx show projects --affected --uncommitted",
1515
"gen:local-network-context": "bun run packages/networks/src/networks/vNaga/envs/naga-local/scripts/00-generate-abi-signatures.ts",
1616
"prettier": "npx nx format:write --all",
17+
"lint": "npx nx run-many --target=lint --all",
18+
"lint:fix": "npx nx run-many --target=lint --all -- --fix",
1719
"format:check": "npx nx format:check --all",
1820
"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",
1921
"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",

0 commit comments

Comments
 (0)