aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-10-18 18:46:06 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-10-18 18:46:06 +0800
commitd5daa68703a0fb8f5f3f1cf35ecb8a69a26ae811 (patch)
treeef00982a33353b383b3fa3feba937089cb39f4e1 /packages
parentbd8ba14bf46cb901e14f0ee718ac01cdbc833e86 (diff)
downloaddexon-sol-tools-d5daa68703a0fb8f5f3f1cf35ecb8a69a26ae811.tar
dexon-sol-tools-d5daa68703a0fb8f5f3f1cf35ecb8a69a26ae811.tar.gz
dexon-sol-tools-d5daa68703a0fb8f5f3f1cf35ecb8a69a26ae811.tar.bz2
dexon-sol-tools-d5daa68703a0fb8f5f3f1cf35ecb8a69a26ae811.tar.lz
dexon-sol-tools-d5daa68703a0fb8f5f3f1cf35ecb8a69a26ae811.tar.xz
dexon-sol-tools-d5daa68703a0fb8f5f3f1cf35ecb8a69a26ae811.tar.zst
dexon-sol-tools-d5daa68703a0fb8f5f3f1cf35ecb8a69a26ae811.zip
Enable linter on generated abi-gen wrappers
Diffstat (limited to 'packages')
-rw-r--r--packages/abi-gen-wrappers/package.json2
-rw-r--r--packages/abi-gen-wrappers/tslint.json3
2 files changed, 5 insertions, 0 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"]
+}