diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-10-18 18:48:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-18 18:48:53 +0800 |
commit | ea65fa4f6560264b8aee6b4b1c9272a0efa82b12 (patch) | |
tree | ef00982a33353b383b3fa3feba937089cb39f4e1 | |
parent | bd8ba14bf46cb901e14f0ee718ac01cdbc833e86 (diff) | |
parent | d5daa68703a0fb8f5f3f1cf35ecb8a69a26ae811 (diff) | |
download | dexon-sol-tools-ea65fa4f6560264b8aee6b4b1c9272a0efa82b12.tar.gz dexon-sol-tools-ea65fa4f6560264b8aee6b4b1c9272a0efa82b12.tar.zst dexon-sol-tools-ea65fa4f6560264b8aee6b4b1c9272a0efa82b12.zip |
Merge pull request #1153 from 0xProject/feature/enable-linter
Enable linter on generated abi-gen wrappers
-rw-r--r-- | packages/abi-gen-wrappers/package.json | 2 | ||||
-rw-r--r-- | packages/abi-gen-wrappers/tslint.json | 3 | ||||
-rw-r--r-- | yarn.lock | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/packages/abi-gen-wrappers/package.json b/packages/abi-gen-wrappers/package.json index a660d3015..0a4ae5829 100644 --- a/packages/abi-gen-wrappers/package.json +++ b/packages/abi-gen-wrappers/package.json @@ -12,6 +12,7 @@ "scripts": { "build": "yarn pre_build && tsc -b", "build:ci": "yarn build", + "lint": "tslint --project .", "pre_build": "yarn generate_contract_wrappers", "clean": "shx rm -rf lib wrappers", "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated-wrappers --backend ethers" @@ -30,6 +31,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/abi-gen-wrappers/README.md", "devDependencies": { "@0xproject/abi-gen": "^1.0.12", + "@0xproject/tslint-config": "^1.0.8", "shx": "^0.2.2" }, "dependencies": { diff --git a/packages/abi-gen-wrappers/tslint.json b/packages/abi-gen-wrappers/tslint.json new file mode 100644 index 000000000..ffaefe83a --- /dev/null +++ b/packages/abi-gen-wrappers/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": ["@0xproject/tslint-config"] +} @@ -6385,7 +6385,7 @@ ganache-core@0xProject/ganache-core#monorepo-dep: ethereumjs-tx "0xProject/ethereumjs-tx#fake-tx-include-signature-by-default" ethereumjs-util "^5.2.0" ethereumjs-vm "2.3.5" - ethereumjs-wallet "0.6.0" + ethereumjs-wallet "~0.6.0" fake-merkle-patricia-tree "~1.0.1" heap "~0.2.6" js-scrypt "^0.2.0" |