Skip to content

Commit b63e687

Browse files
authored
Merge pull request #873 from LIT-Protocol/feat/add-eslint-script
feat(lint): add eslint script
2 parents 29a39cb + a0de75b commit b63e687

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
@@ -19,6 +19,8 @@
1919
"gen:readme": "node ./tools/scripts/gen-readme.mjs",
2020
"gen:local-network-context": "bun run packages/networks/src/networks/vNaga/envs/naga-local/scripts/00-generate-abi-signatures.ts",
2121
"prettier": "npx nx format:write --all",
22+
"lint": "npx nx run-many --target=lint --all",
23+
"lint:fix": "npx nx run-many --target=lint --all -- --fix",
2224
"format:check": "npx nx format:check --all",
2325
"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",
2426
"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)