aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-07-06 06:16:34 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-07-07 04:23:09 +0800
commit5ed7a1babab12b5ef165081e2f3e1a4896c2621b (patch)
tree7e107c42c6a3f6595b02689468e1bddc6943d924 /packages/contracts
parent07c111d1f589bab6ee573cfcbab891bd7b81dfc5 (diff)
downloaddexon-sol-tools-5ed7a1babab12b5ef165081e2f3e1a4896c2621b.tar
dexon-sol-tools-5ed7a1babab12b5ef165081e2f3e1a4896c2621b.tar.gz
dexon-sol-tools-5ed7a1babab12b5ef165081e2f3e1a4896c2621b.tar.bz2
dexon-sol-tools-5ed7a1babab12b5ef165081e2f3e1a4896c2621b.tar.lz
dexon-sol-tools-5ed7a1babab12b5ef165081e2f3e1a4896c2621b.tar.xz
dexon-sol-tools-5ed7a1babab12b5ef165081e2f3e1a4896c2621b.tar.zst
dexon-sol-tools-5ed7a1babab12b5ef165081e2f3e1a4896c2621b.zip
Add lint-contracts to default lint command
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 5c23d210e..c0beac0cb 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -24,7 +24,7 @@
"compile": "sol-compiler --contracts-dir src",
"clean": "shx rm -rf lib generated_contract_wrappers",
"generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output generated_contract_wrappers --backend ethers",
- "lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/* --exclude **/lib/**/*",
+ "lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/* --exclude **/lib/**/* && yarn lint-contracts",
"coverage:report:text": "istanbul report text",
"coverage:report:html": "istanbul report html && open coverage/index.html",
"profiler:report:html": "istanbul report html && open coverage/index.html",