aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-10-18 18:48:53 +0800
committerGitHub <noreply@github.com>2018-10-18 18:48:53 +0800
commitea65fa4f6560264b8aee6b4b1c9272a0efa82b12 (patch)
treeef00982a33353b383b3fa3feba937089cb39f4e1
parentbd8ba14bf46cb901e14f0ee718ac01cdbc833e86 (diff)
parentd5daa68703a0fb8f5f3f1cf35ecb8a69a26ae811 (diff)
downloaddexon-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.json2
-rw-r--r--packages/abi-gen-wrappers/tslint.json3
-rw-r--r--yarn.lock2
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"]
+}
diff --git a/yarn.lock b/yarn.lock
index 0a85f9011..386f42fd6 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -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"