diff --git a/packages/block/package.json b/packages/block/package.json index e20a82c497..fa33741fbe 100644 --- a/packages/block/package.json +++ b/packages/block/package.json @@ -31,6 +31,7 @@ "docs:build": "typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- block", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "npm run test:node && npm run test:browser", diff --git a/packages/blockchain/package.json b/packages/blockchain/package.json index 68e3a4e58e..98b9a1b691 100644 --- a/packages/blockchain/package.json +++ b/packages/blockchain/package.json @@ -31,6 +31,7 @@ "docs:build": "typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- blockchain", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "npm run test:node && npm run test:browser", diff --git a/packages/client/package.json b/packages/client/package.json index e9bca0b8cc..ad36800c79 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -34,6 +34,7 @@ "coverage": "npx vitest --coverage --coverage.include=src --coverage.reporter=lcov run test/* -c=./vitest.config.unit.ts", "docs:build": "typedoc --options typedoc.cjs --tsconfig tsconfig.prod.cjs.json", "examples": "tsx ../../scripts/examples-runner.ts -- client", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "preinstall": "npm run binWorkaround", "prepublishOnly": "../../config/cli/prepublish.sh", diff --git a/packages/common/package.json b/packages/common/package.json index c3f73270a1..768e0a878e 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -44,6 +44,7 @@ "docs:build": "typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- common", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "npm run test:node && npm run test:browser", diff --git a/packages/devp2p/package.json b/packages/devp2p/package.json index fbd8aa4e13..a27c425963 100644 --- a/packages/devp2p/package.json +++ b/packages/devp2p/package.json @@ -47,6 +47,7 @@ "docs:build": "typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- devp2p", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "vitest run", diff --git a/packages/ethash/package.json b/packages/ethash/package.json index 2c48d0358e..61d8ae36c8 100644 --- a/packages/ethash/package.json +++ b/packages/ethash/package.json @@ -31,6 +31,7 @@ "docs:build": "typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- ethash", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "npx vitest run", diff --git a/packages/evm/package.json b/packages/evm/package.json index 61d94c0d1e..e4ee11dbae 100644 --- a/packages/evm/package.json +++ b/packages/evm/package.json @@ -34,6 +34,7 @@ "examples": "tsx ../../scripts/examples-runner.ts -- evm", "examples:build": "npx embedme README.md", "formatTest": "node ./scripts/formatTest", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "profiling": "0x ./benchmarks/run.js profiling", diff --git a/packages/genesis/package.json b/packages/genesis/package.json index c720c5f24e..1709cfbeeb 100644 --- a/packages/genesis/package.json +++ b/packages/genesis/package.json @@ -43,6 +43,7 @@ "examples": "tsx ../../scripts/examples-runner.ts -- genesis", "examples:build": "npx embedme README.md", "docs:build": "typedoc --options typedoc.cjs", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "npm run test:node", diff --git a/packages/mpt/package.json b/packages/mpt/package.json index c49bd34522..100451015e 100644 --- a/packages/mpt/package.json +++ b/packages/mpt/package.json @@ -33,6 +33,7 @@ "docs:build": "typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- mpt", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "profiling": "tsc --target ES5 benchmarks/random.ts && 0x benchmarks/random.js", diff --git a/packages/rlp/package.json b/packages/rlp/package.json index e4f1676abf..568effc690 100644 --- a/packages/rlp/package.json +++ b/packages/rlp/package.json @@ -43,6 +43,7 @@ "coverage": "npx vitest --coverage --coverage.include=src run", "examples": "tsx ../../scripts/examples-runner.ts -- rlp", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "npm run test:node && npm run test:browser", diff --git a/packages/statemanager/package.json b/packages/statemanager/package.json index 53dce60a81..6e830b2b97 100644 --- a/packages/statemanager/package.json +++ b/packages/statemanager/package.json @@ -32,6 +32,7 @@ "docs:build": "typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- statemanager", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh && npm run test:node", "test": "npm run test:node && npm run test:browser", diff --git a/packages/tx/package.json b/packages/tx/package.json index f01eeda510..37f2dc89f6 100644 --- a/packages/tx/package.json +++ b/packages/tx/package.json @@ -38,6 +38,7 @@ "docs:build": "typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- tx", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "npm run test:node && npm run test:browser", diff --git a/packages/util/package.json b/packages/util/package.json index 06b280a4a5..83a3099d39 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -75,6 +75,7 @@ "docs:build": "npx typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- util", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "npm run test:node && npm run test:browser", diff --git a/packages/verkle/package.json b/packages/verkle/package.json index 24aea917ff..1eb8885410 100644 --- a/packages/verkle/package.json +++ b/packages/verkle/package.json @@ -37,6 +37,7 @@ "docs:build": "typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- verkle", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "npm run test:node", diff --git a/packages/vm/package.json b/packages/vm/package.json index b079b39da3..44482b319e 100644 --- a/packages/vm/package.json +++ b/packages/vm/package.json @@ -36,6 +36,7 @@ "examples": "tsx ../../scripts/examples-runner.ts -- vm", "examples:build": "npx embedme README.md", "formatTest": "node ./scripts/formatTest", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh && npm run test:buildIntegrity", "profiling": "0x ./benchmarks/run.js profiling", diff --git a/packages/wallet/package.json b/packages/wallet/package.json index cf17488842..5b668603a3 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -31,6 +31,7 @@ "docs:build": "npx typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- wallet", "examples:build": "npx embedme README.md", + "lint": "eslint --config .eslintrc.cjs . --ext .js,.ts", "lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts", "prepublishOnly": "../../config/cli/prepublish.sh", "test": "npm run test:node && npm run test:browser",