aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-07 02:10:06 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-07 02:10:06 +0800
commitd97184880ceac6215ce50916a29f4cb01bbfc63f (patch)
tree14752e743a9e6e38300c3d85c002aeb6ec09e4f6 /packages/contracts
parent037912ccab9f4692b32260fa5548963956efe1c9 (diff)
downloaddexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar
dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar.gz
dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar.bz2
dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar.lz
dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar.xz
dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar.zst
dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.zip
Use CLI for exclude
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/package.json2
-rw-r--r--packages/contracts/tslint.json3
2 files changed, 1 insertions, 4 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 3b9fda227..2cd87431c 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -23,7 +23,7 @@
"clean": "shx rm -rf lib src/contract_wrappers/generated",
"generate_contract_wrappers":
"abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'",
- "lint": "tslint --project .",
+ "lint": "tslint --project . --exclude **/src/contract_wrappers/**/* --exclude **/lib/**/*",
"coverage:report:text": "istanbul report text",
"coverage:report:html": "istanbul report html && open coverage/index.html",
"coverage:report:lcov": "istanbul report lcov",
diff --git a/packages/contracts/tslint.json b/packages/contracts/tslint.json
index 216da0653..1ab924e47 100644
--- a/packages/contracts/tslint.json
+++ b/packages/contracts/tslint.json
@@ -2,8 +2,5 @@
"extends": ["@0xproject/tslint-config"],
"rules": {
"custom-no-magic-numbers": false
- },
- "linterOptions": {
- "exclude": ["src/contract_wrappers/generated/*"]
}
}